InputDeviceCapabilities()
构造函数创建新
InputDeviceCapabilities
object provides information about the physical device responsible for generating a touch event.
var inputDeviceCapabilities = new InputDeviceCapabilities([InputDeviceCapabilitiesInit])
An instance of the
InputDeviceCapabilities
接口。
InputDeviceCapabilitiesInit
可选
fireTouchEvents
: A
布尔
that indicates whether the device dispatches touch events.
| 规范 | 状态 | 注释 |
|---|---|---|
| InputDeviceCapabilities | 草案 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
InputDeviceCapabilities()
构造函数
非标
|
Chrome 47 | Edge ≤79 | Firefox ? | IE ? | Opera ? | Safari ? | WebView Android 47 | Chrome Android 47 | Firefox Android ? | Opera Android ? | Safari iOS ? | Samsung Internet Android 5.0 |
完整支持
兼容性未知
非标。预期跨浏览器支持较差。