Readonly
altReadonly
controlReadonly
ctrlReadonly
keyReadonly
metaReadonly
shiftIf undefined, the state of the shift key is ignored.
Returns a string representation of this shortcut in the same format accepted by fromString.
Static
fromAccepts a string in the form modifier1+modifier2+...+key
(e.g. Ctrl+Shift+a
)
and returns the corresponding KeyboardShortcut
.
Represents a key combination that can trigger a keyboard shortcut.