Interface IKeyboardEvent

interface IKeyboardEvent {
    _standardKeyboardEventBrand: true;
    altGraphKey: boolean;
    altKey: boolean;
    browserEvent: KeyboardEvent;
    code: string;
    ctrlKey: boolean;
    keyCode: KeyCode;
    metaKey: boolean;
    shiftKey: boolean;
    target: HTMLElement;
    equals(keybinding): boolean;
    preventDefault(): void;
    stopPropagation(): void;
}

Properties

_standardKeyboardEventBrand: true
altGraphKey: boolean
altKey: boolean
browserEvent: KeyboardEvent
code: string
ctrlKey: boolean
keyCode: KeyCode
metaKey: boolean
shiftKey: boolean
target: HTMLElement

Methods

  • Parameters

    • keybinding: number

    Returns boolean

  • Returns void

  • Returns void