@witchcraft/spellcraft
    Preparing search index...

    Type Alias ShortcutInfo

    type ShortcutInfo = {
        hasUnpressedModifiers: boolean;
        isPressable: boolean;
        isPressableChain: boolean;
        isPressed: boolean;
        shortcut: Shortcut;
    }
    Index

    Properties

    hasUnpressedModifiers: boolean

    If a shortcut contains unpressed modifiers, it will not be considered pressable or a pressable chain, but you will likely want to show a hint on the modifier anyways.

    isPressable: boolean
    isPressableChain: boolean
    isPressed: boolean
    shortcut: Shortcut