PacemShortcutElement
binds key combinations to action executions.
Here an example for the utilization:
<pacem-shortcut combination="Ctrl+Shift+L" on-execute="console.log('FOO!')"></pacem-shortcut>
The possible applicable modifier are:
Ctrl
for the Control
key;Alt
or Option
;Win
or Cmd
for the Meta
key;Shift
;Esc
is also assumed for the Escape
key and Back
is assumed for the Backspace
key.
The provided key
combination
is case-insensitive.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.