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 GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
type
DeprecatedNon-standard

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.

参见