Hierarchy (view full)

Constructors

Properties

$singleCommand: boolean
commandKeyBinding: {}

Type declaration

    commands: Record<string, Command>
    platform: string

    Methods

    • Parameters

      • config: Command[] | Record<string, CommandLike>
      • Optional platform: string
      • Optional $singleCommand: boolean

      Returns void

    • Parameters

      • key: string | {
            mac?: string;
            position?: number;
            win?: string;
        }
      • command: string | CommandLike
      • Optional position: number

      Returns void

    • Parameters

      • data: {
            $keyChain: string | any[];
        }
        • $keyChain: string | any[]
      • hashId: number
      • keyString: string
      • keyCode: number

      Returns void | {
          command: string;
      }

    • Accepts keys in the form ctrl+Enter or ctrl-Enter keys without modifiers or shift only

      Parameters

      • keys: string

      Returns false | {
          hashId: number;
          key: string;
      }

    • Parameters

      • command: string | Command
      • Optional keepCommand: boolean

      Returns void

    Generated using TypeDoc