Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Les API Web
  3. Element
  4. touchend

Cette page a été traduite à partir de l'anglais par la communauté.Vous pouvez contribuer en rejoignant la communauté francophone sur MDN Web Docs.

View in EnglishAlways switch to English

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.

Informations générales

Spécification

Touch Events

Interface
TouchEvent
Bubbles

Oui

Cancelable

Oui

Target

Document, Element

Default Action

indéfinie

Propriétés

PropertyTypeDescription
targetLecture seuleEventTargetThe event target (the topmost target in the DOM tree).
typeLecture seuleDOMStringThe type of event.
bubblesLecture seuleBooleanWhether the event normally bubbles or not.
cancelableLecture seuleBooleanWhether the event is cancellable or not.
viewLecture seuleWindowProxydocument.defaultView (window of the document)
detailLecture seulelong (float)0.
touchesLecture seuleTouchListA list ofTouches for every point of contact currently touching the surface.
targetTouchesLecture seuleTouchListA 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 seuleTouchListA 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 seulebooleantrue if the control key was down when the event was fired.false otherwise.
shiftKeyLecture seulebooleantrue if the shift key was down when the event was fired.false otherwise.
altKeyLecture seulebooleantrue if the alt key was down when the event was fired.false otherwise.
metaKeyLecture seulebooleantrue 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.

Compatibilité des navigateurs

Voir aussi

Help improve MDN

Learn how to contribute

Cette page a été modifiée le par lescontributeurs du MDN.


[8]ページ先頭

©2009-2026 Movatter.jp