foundation-utils.shortcutmanager.executeshortcutbycontext
Home > @genesislcap/foundation-utils > ShortcutManager > executeShortcutByContext
ShortcutManager.executeShortcutByContext() method
Execute a shortcut by its id and context
Signature:
executeShortcutByContext(context: string, id: string): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
context |
string |
The context of the shortcut to execute |
|
id |
string |
The id of the shortcut to execute |
Returns:
void