Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

touchenter

This event was a proposal in an early version of the specification and has not been implemented. Do not rely on it.

The touchenter event is fired when a touch point is moved onto the interactive area of an element.

General info

Specification
Touch Events (removed)
Interface
TouchEvent
Bubbles
Yes
Cancelable
Yes
Target
Document, Element
Default Action
undefined

Properties

Property Type Description
target Read only EventTarget The event target (the topmost target in the DOM tree).
type Read only DOMString The type of event.
bubbles Read only boolean Does the event normally bubble?
cancelable Read only boolean Is it possible to cancel the event?
view Read only WindowProxy document.defaultView (window of the document)
detail Read only long (float) 0.
touches Read only TouchList A list of Touches for every point of contact currently touching the surface.
targetTouches Read only TouchList A list of Touches for every point of contact that is touching the surface and started on the element that is the target of the current event.
changedTouches Read only TouchList A list of Touches for every point of contact which contributed to the event.
For the touchstart event this must be a list of the touch points that just became active with the current event. For the touchmove event this must be a list of the touch points that have moved since the last event. For the touchend and touchcancel events this must be a list of the touch points that have just been removed from the surface.
ctrlKey Read only boolean true if the control key was down when the event was fired. false otherwise.
shiftKey Read only boolean true if the shift key was down when the event was fired. false otherwise.
altKey Read only boolean true if the alt key was down when the event was fired. false otherwise.
metaKey Read only boolean true if the meta key was down when the event was fired. false otherwise.

Examples

Code samples for those events are available on the dedicated page: Touch events.

Document Tags and Contributors

 Contributors to this page: teoli, Sheppy, ethertank, louisremi
 Last updated by: teoli,