Classes
GamepadEvent
Extends
Implements
Constructors
new GamepadEvent()
new GamepadEvent(type, options): GamepadEvent
Parameters
| Parameter | Type | 
|---|---|
type | string | 
options | GamepadEventInit | 
Returns
Overrides
Properties
| Property | Modifier | Type | Inherited from | 
|---|---|---|---|
AT_TARGET | readonly | 2 | globalThis.GamepadEvent.AT_TARGET Event.AT_TARGET | 
BUBBLING_PHASE | readonly | 3 | globalThis.GamepadEvent.BUBBLING_PHASE Event.BUBBLING_PHASE | 
CAPTURING_PHASE | readonly | 1 | globalThis.GamepadEvent.CAPTURING_PHASE Event.CAPTURING_PHASE | 
NONE | readonly | 0 | globalThis.GamepadEvent.NONE Event.NONE | 
bubbles | readonly | boolean | globalThis.GamepadEvent.bubbles Event.bubbles | 
cancelBubble | public | boolean | globalThis.GamepadEvent.cancelBubble Event.cancelBubble | 
cancelable | readonly | boolean | globalThis.GamepadEvent.cancelable Event.cancelable | 
composed | readonly | boolean | globalThis.GamepadEvent.composed Event.composed | 
currentTarget | readonly | null | EventTarget | globalThis.GamepadEvent.currentTarget Event.currentTarget | 
defaultPrevented | readonly | boolean | globalThis.GamepadEvent.defaultPrevented Event.defaultPrevented | 
eventPhase | readonly | number | globalThis.GamepadEvent.eventPhase Event.eventPhase | 
gamepad | readonly | Gamepad | - | 
isTrusted | readonly | boolean | globalThis.GamepadEvent.isTrusted Event.isTrusted | 
returnValue | public | boolean | globalThis.GamepadEvent.returnValue Event.returnValue | 
srcElement | readonly | null | EventTarget | globalThis.GamepadEvent.srcElement Event.srcElement | 
target | readonly | null | EventTarget | globalThis.GamepadEvent.target Event.target | 
timeStamp | readonly | number | globalThis.GamepadEvent.timeStamp Event.timeStamp | 
type | readonly | string | globalThis.GamepadEvent.type Event.type | 
AT_TARGET | readonly | 2 | Event.AT_TARGET | 
BUBBLING_PHASE | readonly | 3 | Event.BUBBLING_PHASE | 
CAPTURING_PHASE | readonly | 1 | Event.CAPTURING_PHASE | 
NONE | readonly | 0 | Event.NONE | 
Methods
composedPath()
composedPath(): EventTarget[]
Returns
Implementation of
globalThis.GamepadEvent.composedPath
Inherited from
initEvent()
initEvent(type, bubbles?, cancelable?): void
Parameters
| Parameter | Type | 
|---|---|
type | string | 
bubbles? | boolean | 
cancelable? | boolean | 
Returns
void
Implementation of
globalThis.GamepadEvent.initEvent
Inherited from
preventDefault()
preventDefault(): void
Returns
void
Implementation of
globalThis.GamepadEvent.preventDefault
Inherited from
stopImmediatePropagation()
stopImmediatePropagation(): void
Returns
void
Implementation of
globalThis.GamepadEvent.stopImmediatePropagation
Inherited from
Event.stopImmediatePropagation
stopPropagation()
stopPropagation(): void
Returns
void
Implementation of
globalThis.GamepadEvent.stopPropagation