GamepadHapticActuator:type 属性
GamepadHapticActuator
接口的 type
只读属性返回一个表示触觉硬件类型的枚举值。
值
一个 GamepadHapticActuatorType
类型的枚举,当前可用的类型是:
vibration
—— 振动硬件,产生隆隆声效果。
示例
TBC
规范
No specification found
No specification data found for api.GamepadHapticActuator.type
.
Check for problems with this page or contribute a missing spec_url
to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Non-standard. Check cross-browser support before using.
- Deprecated. Not for use in new websites.
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.