开发者

Touch events belong to HTML5 device access class?

开发者 https://www.devze.com 2023-03-15 16:31 出处:网络
This probably isn\'t a hard one but couldn\'t find any info on it. HTML5 is sorted into 8 classes: http://www.w3.org/html/logo/#the-technology. Under the device access class is the geolocation API, bu

This probably isn't a hard one but couldn't find any info on it. HTML5 is sorted into 8 classes: http://www.w3.org/html/logo/#the-technology. Under the device access class is the geolocation API, but what about touch events?

Are they classified under device access since they are exclusively available o开发者_如何学Cn a multi touch "device"?


I don't think they are, device access is more about accessing and controlling peripherals on the device (ie. cameras, scanners, GPS devices) than it is about user input. There is a draft Touch Events Specification available from the W3C, and it seems to be broadly in line with what's implemented in iOS WebKit.

0

精彩评论

暂无评论...
验证码 换一张
取 消