GamepadEvent: GamepadEvent() コンストラクター
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2017年3月.
GamepadEvent() コンストラクターは、新しい GamepadEvent オブジェクトを作成します。
構文
js
new GamepadEvent(type, options)
引数
返値
新しい GamepadEvent オブジェクトです。
仕様書
| Specification |
|---|
| Gamepad> # dom-gamepadevent-constructor> |
ブラウザーの互換性
Loading…