Skip to main content

KeyEventType Type

Contains objects that identify a user interaction with the keyboard.

Declaration

export type KeyEventType = "keyup" | "keydown"

Members

Name Description
"keyup"

Identifies when a key is released.

"keydown"

Identifies when a key is pressed down.