pointerenter | onpointerenter event
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. This event type is similar to pointerover, but differs in that it does not bubble.
![]() |
Syntax
| HTML Attribute | <element onpointerenter = "handler(event)"> |
|---|---|
| addEventListener Method | object.addEventListener("pointerenter", handler, useCapture) |
Event information
| Synchronous | Yes |
|---|---|
| Bubbles | No |
| Cancelable | Yes |
Event handler parameters
- handler [in]
-
Type: Function
Function to execute when the event is dispatched
Standards information
- Pointer Events, Section 5.2.8
Remarks
There are similarities between this event type, the mouseenter event and the CSS :hover pseudo-class. See also the pointerleave event.
See also
Show:
