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 | 
|---|---|---|
| targetRead only | EventTarget | The event target (the topmost target in the DOM tree). | 
| typeRead only | DOMString | The type of event. | 
| bubblesRead only | boolean | Does the event normally bubble? | 
| cancelableRead only | boolean | Is it possible to cancel the event? | 
| viewRead only | WindowProxy | document.defaultView(windowof the document) | 
| detailRead only | long(float) | 0. | 
| touchesRead only | TouchList | A list of Touches for every point of contact currently touching the surface. | 
| targetTouchesRead 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. | 
| changedTouchesRead 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. | 
| ctrlKeyRead only | boolean | trueif the control key was down when the event was fired.falseotherwise. | 
| shiftKeyRead only | boolean | trueif the shift key was down when the event was fired.falseotherwise. | 
| altKeyRead only | boolean | trueif the alt key was down when the event was fired.falseotherwise. | 
| metaKeyRead only | boolean | trueif the meta key was down when the event was fired.falseotherwise. | 
Examples
Code samples for those events are available on the dedicated page: Touch events.