Skip to main content
A newer version of this page is available. .

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.