Interface GamepadEvent

Hierarchy

  • Event
    • GamepadEvent

Index

Properties

Methods

Properties

public AT_TARGET: number

public BUBBLING_PHASE: number

public CAPTURING_PHASE: number

public bubbles: boolean

public cancelBubble: boolean

public cancelable: boolean

public currentTarget: EventTarget

public defaultPrevented: boolean

public eventPhase: number

public gamepad: Gamepad

The single gamepad attribute provides access to the associated gamepad data for this event.

readonly

public isTrusted: boolean

public srcElement: Element

public target: EventTarget

public timeStamp: number

public type: string

Methods

public initEvent(eventTypeArg: string, canBubbleArg: boolean, cancelableArg: boolean)

Parameters

  • eventTypeArg: string
  • canBubbleArg: boolean
  • cancelableArg: boolean

public preventDefault()

public stopImmediatePropagation()

public stopPropagation()