Function clipboardShortcutLayer

  • The keys of copy, cut and paste (TableOptionsIf.clipboard) – a layer over the system mapping that the table only uses with the option; tableOptions.shortcutActionIdMapping still overrides it. Ctrl/⌘+X cuts (in the system mapping it is DESELECT_ALL, which stays on Ctrl/⌘+Shift+A); Windows also knows Ctrl+Insert, Shift+Delete and Shift+Insert.

    Parameters

    • mac: boolean

      macOS keys (⌘)

    Returns ShortcutActionIdMapping

    the layer

    Example

    clipboardShortcutLayer(false)["ctrl+v"];   // "PASTE_FROM_CLIPBOARD"
    

    Since

    1.1.99