Readonly
contextKeyboard shortcut string.
Scope of the keyboard shortcut, defaults to the normal MouseTrap (non-input) scope.
Static
blessingsStatic
outletsStatic
targetsStatic
valuesStatic
shouldWhen a key is set or changed, bind the handler to the keyboard shortcut. This will override the shortcut, if already set.
Static
after
Adds the ability to trigger a button click event using a keyboard shortcut declared on the controlled element.
See
Example
Example: - use `mod` for `ctrl` on Windows and `cmd` on MacOS
Example: - use 'global' scope to allow the shortcut to work even when an input is focused
Example