This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

pointerenter

Summary

Dispatched when a pointing device is moved into 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.

Overview Table

Synchronous Yes
Bubbles No
Target dom/Element
Cancelable Yes
Default action Varies: when the pointer is primary, all default actions of the [mouseenter](/dom/MouseEvent/mouseenter) event.
This event type is similar to [pointerover](/dom/PointerEvent/pointerover), but differs in that it does not bubble.

Examples

element.addEventListener("pointerenter", handler, useCapture) ;

Notes

There are similarities between this event type, the mouseenter event described in DOM Level 3 Events and the CSS :hover pseudo-class described in CSS 2.1. See also the pointerleave event.

Related specifications

Pointer Events
Working Draft

Attributions