TouchList
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
TouchList
介面表示了一個觸控平面上所有觸碰點的列表;舉例來說,假如使用者有三隻手指於觸控平面(如觸控螢幕或是觸控板)上,則其相對應的 TouchList
物件中就會分別有三個 Touch
物件各代表一個手指的觸碰。
屬性
TouchList.length
Read only-
The number of
Touch
objects in theTouchList
.
方法
TouchList.identifiedTouch()
已棄用-
Returns the first
Touch
item in the list whose identifier matches a specified value. TouchList.item()
-
Returns the
Touch
object at the specified index in the list.
範例
規範
Specification |
---|
Touch Events # touchlist-interface |
瀏覽器相容性
BCD tables only load in the browser