KeybindingInput
interfaceFields accepted by keybinding.
Import
import { KeybindingInput } from '@modular/sdk';Members9
- argsoptional
readonly unknown[]Arguments handed to the command when the chord fires.
- command
TCommandThe command value, or the id of a command declared elsewhere.
- id
stringIdentifier for the binding itself, distinct from the command it runs.
- key
stringDefault chord, for example `'ctrl+shift+u'`.
- linuxoptional
stringChord used on Linux instead of `key`.
- macoptional
stringChord used on macOS instead of `key`.
- systemWideoptional
boolean- whenoptional
Condition<string>Condition that must hold for the chord to be active.
- winoptional
stringChord used on Windows instead of `key`.
Notes
- category
- State