This is a Key that cannot match anything.
This function creates a key object which represents a "control equivalent" character. A "control equivalent" is equivalent to a control key on all platforms, except in OS X where it is equivalent to a command key. That is if one makes a "control equivalent" with the character "X", then on all platforms it would be equivalent to hitting Ctrl-X, except in OS X where it is equivalent to hitting Command-X.
This parameter can be a string of length one which contains the character for which we want to create a Key. If a number, it is the character code of the key.
Whether this is a [...]-Shift sequence or not.
The key created.
This function creates a key object which represents a control character (a character typed while Ctrl is held).
This parameter can be a string of length one which contains the character for which we want to create a Key. If a number, it is the character code of the key.
Whether this is a Ctrl-Shift sequence or not.
The key created.
This function creates a key object.
This parameter can be a string of length one which contains the character for which we want to create a Key. If a number, it is the character code of the key.
Whether this key is meant to be used for keypress events rather than keyup and keydown.
The key code of the key.
The character code of the key.
Whether this key requires the Ctrl key held.
Whether this key requires the Alt key held.
Whether this key requires the meta key held.
Whether this key requires the shift key held. It is invalid
to use this parameter if keypress
is true
.
The key created.
This function creates a key object which represents a meta character (a character typed while Meta is held).
This parameter can be a string of length one which contains the character for which we want to create a Key. If a number, it is the character code of the key.
Whether this is a Meta-Shift sequence or not.
The key created.
Generated using TypeDoc
Value meaning "either true or false", by opposition to
true
andfalse
.