interface ICommandMap {
    asArray: (() => ICommand<any, any>[]);
    getCommand: ((key) => ICommand<any, any>);
    merge: ((...others) => CommandMap);
    onKeyDown: ((e) => boolean);
}

Implemented by

Properties

asArray: (() => ICommand<any, any>[])

Type declaration

getCommand: ((key) => ICommand<any, any>)

Type declaration

merge: ((...others) => CommandMap)

Type declaration

onKeyDown: ((e) => boolean)

Type declaration

    • (e): boolean
    • Parameters

      • e: KeyboardEvent<Element>

      Returns boolean