Hex Core JS
    Preparing search index...

    Type Alias Hotkey

    type Hotkey = {
        altKey?: boolean | null;
        ctrlKey?: boolean | null;
        key: Key;
        metaKey?: boolean | null;
    }
    Index

    Properties

    altKey?: boolean | null

    Whether the alt key needs to be pressed. Null means either is acceptable (alt key ignored). Undefined is treated as false.

    ctrlKey?: boolean | null

    Whether the ctrl key needs to be pressed. Null means either is acceptable (ctrl key ignored). Undefined is treated as false.

    key: Key

    The pressed key.

    metaKey?: boolean | null

    Whether the meta key needs to be pressed. Null means either is acceptable (meta key ignored). Undefined is treated as false.