GamepadEvent

Module: JavaScript DOM API

#include <GamepadEvent.idl>

Inherits from UIEvent, Event

Public Functions

Name
GamepadEventGamepadEvent(DOMInternedString type, optional GamepadEventInit eventInitDict)

Public Attributes

Name
readonly attribute Gamepadgamepad

Additional inherited members

Public Functions inherited from UIEvent

Name
UIEventUIEvent(DOMInternedString type, optional UIEventInit initEvent)
voidinitUIEvent(optional DOMInternedString type, optional boolean canBubble, optional boolean cancelable, optional Window? view, optional long detail)

Public Functions inherited from Event

Name
EventEvent(DOMInternedString type, optional EventInit initEvent)
voidstopPropagation()
voidpreventDefault()
voidinitEvent(optional DOMInternedString eventTypeArg, optional boolean canBubbleArg, optional boolean cancelableArg)
voidstopImmediatePropagation()

Public Attributes inherited from Event

Name
const unsigned shortNONE
const unsigned shortCAPTURING_PHASE
const unsigned shortAT_TARGET
const unsigned shortBUBBLING_PHASE
readonly attribute DOMStringtype
readonly attribute EventTargettarget
readonly attribute EventTargetcurrentTarget
readonly attribute unsigned shorteventPhase
readonly attribute booleanbubbles
readonly attribute booleancancelable
readonly attribute booleandefaultPrevented

Public Functions Documentation

function GamepadEvent

GamepadEvent GamepadEvent(
    DOMInternedString type,
    optional GamepadEventInit eventInitDict
)

Public Attributes Documentation

variable gamepad

readonly attribute Gamepad gamepad;