@byomakase/omakase-player
    Preparing search index...

    Interface ControlBarShortcutKey

    A key, with the modifiers that have to be held down with it

    interface ControlBarShortcutKey {
        alt?: boolean;
        code: string;
        ctrl?: boolean;
        meta?: boolean;
        mod?: boolean;
        os?: ControlBarShortcutOs;
        shift?: boolean;
    }
    Index

    Properties

    alt?: boolean
    code: string

    The key's KeyboardEvent.code, e.g. KeyM, Digit1 or ArrowLeft

    ctrl?: boolean
    meta?: boolean
    mod?: boolean

    Cmd on macOS, Ctrl elsewhere

    The operating system the key is limited to. The key works on every operating system when not set

    shift?: boolean