GamepadEvent: GamepadEvent() コンストラクター
GamepadEvent()
コンストラクターは、新しい GamepadEvent
オブジェクトを作成します。
構文
js
new GamepadEvent(type, options)
引数
返値
新しい GamepadEvent
オブジェクトです。
仕様書
Specification |
---|
Gamepad # dom-gamepadevent-constructor |
ブラウザーの互換性
BCD tables only load in the browser