Skip to main content

KeyEventType Type

In This Article

Contains objects that identify a user interaction with the keyboard.

#Declaration

TypeScript
export type KeyEventType = "keyup" | "keydown"

#Members

Name Description
"keyup"

Identifies when a key is released.

"keydown"

Identifies when a key is pressed down.