Liking cljdoc? Tell your friends :D
ClojureScript only.

web.gamepad.GamepadEvent

The GamepadEvent interface of the Gamepad API contains references gamepads connected to the system, which is what the gamepad events and Window.gamepaddisconnected are fired in response to.

The GamepadEvent interface of the Gamepad API contains references
gamepads connected to the system, which is what the gamepad events
and `Window.gamepaddisconnected` are fired in response to.
raw docstring

gamepadcljs

(gamepad this)

Property.

[Read Only]

The GamepadEvent.gamepad property of the web.gamepad.GamepadEvent returns a web.gamepad.Gamepad object, providing access to the gamepad data for fired gamepadconnected and gamepaddisconnected

readonly attribute Gamepad gamepad;

See also: https://developer.mozilla.org/en-US/docs/Web/API/GamepadEvent/gamepad

Property.

[Read Only]

The GamepadEvent.gamepad property of the `web.gamepad.GamepadEvent`
returns a `web.gamepad.Gamepad` object, providing access to the
gamepad data for fired gamepadconnected and gamepaddisconnected

`readonly    attribute Gamepad gamepad;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/GamepadEvent/gamepad`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close