pointerleave | onpointerleave event

Dispatched when a pointing device is moved outside of the hit test boundaries of an element or one of its descendants, including as a result of a pointerdown event from a device that does not support hover. This event type is similar to pointerout, but differs in that it does not bubble.

IE11

Syntax

HTML Attribute <element onpointerleave = "handler(event)">
addEventListener Method object.addEventListener("pointerleave", handler, useCapture)

Event information

SynchronousYes
BubblesNo
CancelableYes

Event handler parameters

handler [in]

Type: Function

Function to execute when the event is dispatched

Standards information

Remarks

There are similarities between this event type, the mouseleave event and the CSS :hover pseudo-class. See also the pointerenter event.

See also

document
Element
Window
PointerEvent

 

 

Show:
© 2014 Microsoft