Cette page a été traduite à partir de l'anglais par la communauté.Vous pouvez contribuer en rejoignant la communauté francophone sur MDN Web Docs.
touchend
Limited availability
Cette fonctionnalité n'est pas Compatible car elle ne fonctionne pas dans certains des navigateurs les plus utilisés.
L'événementtouchend est déclenché quand un point de contact est retiré de la surface.
Dans cet article
Informations générales
- Spécification
- Interface
TouchEvent- Bubbles
Oui
- Cancelable
Oui
- Target
Document, Element
- Default Action
indéfinie
Propriétés
| Property | Type | Description |
|---|---|---|
targetLecture seule | EventTarget | The event target (the topmost target in the DOM tree). |
typeLecture seule | DOMString | The type of event. |
bubblesLecture seule | Boolean | Whether the event normally bubbles or not. |
cancelableLecture seule | Boolean | Whether the event is cancellable or not. |
viewLecture seule | WindowProxy | document.defaultView (window of the document) |
detailLecture seule | long (float) | 0. |
touchesLecture seule | TouchList | A list ofTouches for every point of contact currently touching the surface. |
targetTouchesLecture seule | TouchList | A list ofTouches for every point of contact that is touching the surface and started on the element that is the target of the current event. |
changedTouchesLecture seule | TouchList | A list ofTouches 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. |
ctrlKeyLecture seule | boolean | true if the control key was down when the event was fired.false otherwise. |
shiftKeyLecture seule | boolean | true if the shift key was down when the event was fired.false otherwise. |
altKeyLecture seule | boolean | true if the alt key was down when the event was fired.false otherwise. |
metaKeyLecture seule | boolean | true if the meta key was down when the event was fired.false otherwise. |
Exemples
Des exemples d'implémentation de cet événement sont disponibles :Touch events.