Threepipe Tweakpane Editor Plugin
    Preparing search index...

    Function shortcutsSheetGroups

    • The rows of the ShortcutsSheet: the actions that have a key, in groups (in the order of the first action of each group), with the labels of their keys. The Shift form of a key is left out when the key is there too.

      Parameters

      • actions: ViewerAction[]

        the actions (viewer.actions.list())

      • shortcutOf: (id: string) => string | string[] | undefined

        the key or keys of an action now (viewer.actions.shortcutOf: the key that the app set, else its own)

      • query: string = ''

        only the rows whose label, key or group has this text (any case); empty: all the rows

      • otherGroup: string = 'Other'

        the name of the group of the actions without one

      • Optionalmac: boolean

        Mac labels of the keys (⌘, ⌥, ⇧). Default: the platform of the browser.

      Returns ShortcutsSheetGroup[]