Extends: Event
See: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent
- KeyboardEvent
- new KeyboardEvent(type, eventInit)
- .altKey
- .ctrlKey
- .metaKey
- .shiftKey
- .code
- .keyCode
- .key
- .location
- .repeat
- .type
- .isTrusted :
boolean - .target :
Node - .currentTarget :
Node - .bubbles :
boolean - .cancelable :
boolean - .eventPhase
- .defaultPrevented :
boolean - .returnValue :
\* - .getModifierState(keyArgs)
- .preventDefault()
- .stopImmediatePropagation()
- .stopPropagation()
Creates an instance of KeyboardEvent.
| Param | Type |
|---|---|
| type | \* |
| eventInit | \* |
Read only
Read only
Read only
Read only
Read only
Read only
Read only
Read only
Read only
Read only
Read only
keyboardEvent.target : Node
Read only
keyboardEvent.currentTarget : Node
Read only
Read only
Read only
Read only
Read only
| Param | Type |
|---|---|
| keyArgs | string |