Skip to main content

foundation-utils.shortcutmanager.executeshortcut

Home > @genesislcap/foundation-utils > ShortcutManager > executeShortcut

ShortcutManager.executeShortcut() method​

Execute a shortcut by its id

Signature:

executeShortcut(id: string): void;

Parameters​

Parameter

Type

Description

id

string

The id of the shortcut to execute

Returns:

void

Remarks​

This method will execute the shortcut in the active context