Try Install Learn Blog API Packages GitHub
Pages
core

Search
Entities

Provider.Shortcuts.Shortcut

Represents a shortcut:

  • action - the function to execute when the shortcut is pressed
  • condition - the function that evaluates if the action should be called
  • shortcut - the array of keyCodes that needs to be matched.
  • bypassFocused - whether or not trigger the action if something is in focus

Fields

action
:
Function(Promise(Void))
condition
:
Function(Bool)
shortcut
:
Array(Number)