Function undoShortcutLayer

  • The keys of undo and redo (TableOptionsIf.undo) – a layer over the system mapping that the table only uses with the option; tableOptions.shortcutActionIdMapping still overrides it. In an open editor the keys belong to the editor (the browser's text undo).

    Parameters

    • mac: boolean

      macOS keys (⌘+Z, ⌘+Shift+Z)

    Returns ShortcutActionIdMapping

    the layer

    Example

    undoShortcutLayer(false)["ctrl+y"];   // "REDO"
    

    Since

    1.1.99