CallbackAction

constructor(callback: ShortcutFunc)

Create a custom action that calls the given @callback when activated.

Return

A new shortcut action

Parameters

callback

the callback to call when the action is activated


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)