KeyboardEvent

Extends: Event

See: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent

new KeyboardEvent(type, eventInit)

Creates an instance of KeyboardEvent.

Param Type
type *
eventInit *

keyboardEvent.altKey

Read only

keyboardEvent.ctrlKey

Read only

keyboardEvent.metaKey

Read only

keyboardEvent.shiftKey

Read only

keyboardEvent.code

Read only

keyboardEvent.keyCode

Read only

keyboardEvent.key

Read only

keyboardEvent.location

Read only

keyboardEvent.repeat

Read only

keyboardEvent.type

Read only

keyboardEvent.isTrusted : boolean

Read only

keyboardEvent.target : Node

Read only

keyboardEvent.currentTarget : Node

Read only

keyboardEvent.bubbles : boolean

Read only

keyboardEvent.cancelable : boolean

Read only

keyboardEvent.eventPhase

Read only

keyboardEvent.defaultPrevented : boolean

Read only

keyboardEvent.returnValue : *

keyboardEvent.getModifierState(keyArgs)

Param Type
keyArgs string

keyboardEvent.preventDefault()

keyboardEvent.stopImmediatePropagation()

keyboardEvent.stopPropagation()

results matching ""

    No results matching ""