Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
DOM event
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== Pointer events ==== Web browsers on devices with various types of input devices including mouse, touch panel, and pen may generate integrated input events. Users can see what type of input device is pressed, what button is pressed on that device, and how strongly the button is pressed when it comes to a stylus pen. As of October 2013, this event is only supported by Internet Explorer 10 and 11.<ref>{{cite web|url=http://www.w3.org/TR/2013/CR-pointerevents-20130509/|title=Pointer Events}}</ref> {| class="wikitable" ! Category ! Type ! Attribute ! Description ! Bubbles ! Cancelable |- | rowspan=10 | Pointer | pointerdown | onpointerdown | Fires when the pointing device button is activated, or pressed over an element. | {{Yes}} | {{Yes}} |- | pointerup | onpointerup | Fires when the pointing device button is released over an element | {{Yes}} | {{Yes}} |- | pointercancel | onpointercancel | Fires when a pointing device is unlikely to continue to produce event because, for example, the device is used for panning/zooming after a pointerdown event. | {{Yes}} | {{Yes}} |- | pointermove | onpointermove | Fires when the pointing device is moved while it is over an element | {{Yes}} | {{Yes}} |- | pointerover | onpointerover | Fires when the pointing device is moved onto an element | {{Yes}} | {{Yes}} |- | pointerout | onpointerout | Fires when the pointing device is moved away from an element. Also fires after pointerup by pointing device without hovering, or after | {{Yes}} | {{Yes}} |- | pointerenter | onpointerenter | Fires when the pointing device is moved onto an element, or when the button of the pointing device which does not support hovering is pressed on one of its descendant elements. | {{No}} | {{Yes}} |- | pointerleave | onpointerleave | Fires when the pointing device is moved away from an element, or when the button of the pointing device which does not support hovering is released over its descendant elements. | {{No}} | {{Yes}} |- | gotpointercapture | ongotpointercapture | Fires when the pointer is captured by setPointerCapture method. | {{Yes}} | {{No}} |- | lostpointercapture | onlostpointercapture | Fires when the pointer is released by releasePointerCapture method. | {{Yes}} | {{No}} |- |}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)