Edit in GitHubLog an issue

window.KeyboardEvent

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

altKey#

Read only

ctrlKey#

Read only

metaKey#

Read only

shiftKey#

Read only

code#

Read only

keyCode#

Read only

key#

Read only

location#

Read only

repeat#

Read only

type#

Read only

isTrusted : boolean#

Read only

target : Node#

Read only

currentTarget : Node#

Read only

bubbles : boolean#

Read only

cancelable : boolean#

Read only

eventPhase#

Read only

defaultPrevented : boolean#

Read only

returnValue : *#

getModifierState(keyArgs)#

Returns: boolean

ParamType
keyArgsstring

initEvent(typeArg, bubblesArg, cancelableArg)#

ParamType
typeArgstring
bubblesArgboolean
cancelableArgboolean

preventDefault()#

stopImmediatePropagation()#

stopPropagation()#

KeyboardEvent#

KeyboardEvent(type, eventInit)#

Creates an instance of KeyboardEvent.

ParamType
type*
eventInit*
Copyright © 2021 Adobe. All rights reserved.