nx.js
Classes

GamepadEvent

Extends

Implements

Constructors

new GamepadEvent()

new GamepadEvent(type, options): GamepadEvent

Parameters

ParameterType
typestring
optionsGamepadEventInit

Returns

GamepadEvent

Overrides

Event.constructor

Properties

PropertyModifierTypeInherited from
AT_TARGETreadonly2globalThis.GamepadEvent.AT_TARGET Event.AT_TARGET
BUBBLING_PHASEreadonly3globalThis.GamepadEvent.BUBBLING_PHASE Event.BUBBLING_PHASE
CAPTURING_PHASEreadonly1globalThis.GamepadEvent.CAPTURING_PHASE Event.CAPTURING_PHASE
NONEreadonly0globalThis.GamepadEvent.NONE Event.NONE
bubblesreadonlybooleanglobalThis.GamepadEvent.bubbles Event.bubbles
cancelBubblepublicbooleanglobalThis.GamepadEvent.cancelBubble Event.cancelBubble
cancelablereadonlybooleanglobalThis.GamepadEvent.cancelable Event.cancelable
composedreadonlybooleanglobalThis.GamepadEvent.composed Event.composed
currentTargetreadonlynull | EventTargetglobalThis.GamepadEvent.currentTarget Event.currentTarget
defaultPreventedreadonlybooleanglobalThis.GamepadEvent.defaultPrevented Event.defaultPrevented
eventPhasereadonlynumberglobalThis.GamepadEvent.eventPhase Event.eventPhase
gamepadreadonlyGamepad-
isTrustedreadonlybooleanglobalThis.GamepadEvent.isTrusted Event.isTrusted
returnValuepublicbooleanglobalThis.GamepadEvent.returnValue Event.returnValue
srcElementreadonlynull | EventTargetglobalThis.GamepadEvent.srcElement Event.srcElement
targetreadonlynull | EventTargetglobalThis.GamepadEvent.target Event.target
timeStampreadonlynumberglobalThis.GamepadEvent.timeStamp Event.timeStamp
typereadonlystringglobalThis.GamepadEvent.type Event.type
AT_TARGETreadonly2Event.AT_TARGET
BUBBLING_PHASEreadonly3Event.BUBBLING_PHASE
CAPTURING_PHASEreadonly1Event.CAPTURING_PHASE
NONEreadonly0Event.NONE

Methods

composedPath()

composedPath(): EventTarget[]

Returns

EventTarget[]

Implementation of

globalThis.GamepadEvent.composedPath

Inherited from

Event.composedPath


initEvent()

initEvent(type, bubbles?, cancelable?): void

Parameters

ParameterType
typestring
bubbles?boolean
cancelable?boolean

Returns

void

Implementation of

globalThis.GamepadEvent.initEvent

Inherited from

Event.initEvent


preventDefault()

preventDefault(): void

Returns

void

Implementation of

globalThis.GamepadEvent.preventDefault

Inherited from

Event.preventDefault


stopImmediatePropagation()

stopImmediatePropagation(): void

Returns

void

Implementation of

globalThis.GamepadEvent.stopImmediatePropagation

Inherited from

Event.stopImmediatePropagation


stopPropagation()

stopPropagation(): void

Returns

void

Implementation of

globalThis.GamepadEvent.stopPropagation

Inherited from

Event.stopPropagation

On this page