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 |
瀏覽器相容性
Report problems with this compatibility data on GitHubLegend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Partial support
- Partial support
- No support
- No support
- Has more compatibility info.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.