Hierarchy (View Summary)

Constructors

Properties

commandKeyBinding: {}
commands: Record<string, Command>
platform: Platform

Methods

  • Parameters

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

    Returns void

  • Parameters

    • data: 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 }