Edit in GitHubLog an issue

window.KeyboardEvent

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

KeyboardEvent(type, eventInit)

Creates an instance of KeyboardEvent.

ParamType
type
*
eventInit
*

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
keyArgs
string

initEvent(typeArg, bubblesArg, cancelableArg)

ParamType
typeArg
string
bubblesArg
boolean
cancelableArg
boolean

preventDefault()

stopImmediatePropagation()

stopPropagation()

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.