SINGLE-INTERFACE

settings_applicationsTouchList  >   settings_applications[[Prototype]]

SINGLE-INTERFACE

Editing
  • account_tree
  • bug_report

Touchtouchitem(intindex)

TouchList 객체에서 지정된 인덱스에 해당하는 Touch 객체를 반환한다. 

구문

형식
element.addEventListener("touchstart", e => {
  let touchList = e.targetTouches;
  let touch = touchList.item(0);
});

매개 변수

intindex필수

찾을 Touch 객체를 나타내는 인덱스를 지정한다.

반환

Touchtouch

지정된 인덱스에 해당하는 Touch 객체를 반환한다.

버전 명세

Touch Events Level 2
#dom-touchlist-item

지원 웹브라우저