CommandKey.key
property · packages/builder/src/index.ts:695
readonly key: stringComposition / foldkit-builder
interface · packages/builder/src/index.ts:694
interface CommandKey {
readonly key: string
readonly mod?: boolean
readonly alt?: boolean
readonly shift?: boolean
}A key that runs a command, named as KeyboardEvent.key names it. mod is
Ctrl, or ⌘ on a Mac. mod and alt must be as given; shift must be as
given only where it is given, so a key that leaves it out takes either.
CommandKey.keyproperty · packages/builder/src/index.ts:695
readonly key: stringCommandKey.modproperty · packages/builder/src/index.ts:696
readonly mod?: booleanCommandKey.altproperty · packages/builder/src/index.ts:697
readonly alt?: booleanCommandKey.shiftproperty · packages/builder/src/index.ts:698
readonly shift?: boolean