gotpointercapture | ongotpointercapture event
Dispatched prior to the dispatch of the first event after pointer capture is set for a pointer.
Note As of Internet Explorer 11, the Microsoft vendor prefixed version of this event (MSGotPointerCapture) is no longer supported. Instead, use the non-prefixed lowercase name, gotpointercapture, which is better for standards compliance and future compatibility.
![]() |
Syntax
| HTML Attribute | <element ongotpointercapture = "handler(event)"> |
|---|---|
| addEventListener Method | object.addEventListener("gotpointercapture", handler, useCapture) |
Event information
| Synchronous | No |
|---|---|
| Bubbles | Yes |
| Cancelable | No |
Event handler parameters
- handler [in]
-
Type: Function
Function to execute when the event is dispatched
Standards information
- Pointer Events, Section 5.2.10
Remarks
This event is dispatched to the element that is receiving pointer capture. Subsequent events for that pointer will be dispatched to this element. See setpointercapture.
See also
Show:
