shiftKey property
bool
get
shiftKey
The KeyboardEvent.shiftKey
read-only property is a
boolean value that indicates if the shift key was pressed
(true
) or not (false
) when the event occurred.
The pressing of the shift key may change the KeyboardEvent.key of the
event too. For example, pressing B generates key: "b"
, while
simultaneously pressing Shift generates key: "B"
.
Implementation
external bool get shiftKey;