Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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
Pointer Events
PointerEvent
PointerEvent

 

 

Show:
© 2017 Microsoft