foundation-utils.defaultshortcutmanager.findshortcutbykeycombination
Home > @genesislcap/foundation-utils > DefaultShortcutManager > findShortcutByKeyCombination
DefaultShortcutManager.findShortcutByKeyCombination() method
Signature:
findShortcutByKeyCombination(key: string, ctrlKey?: boolean, altKey?: boolean, shiftKey?: boolean, metaKey?: boolean): ShortcutDefinition | undefined;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
string | |
|
ctrlKey |
boolean |
(Optional) |
|
altKey |
boolean |
(Optional) |
|
shiftKey |
boolean |
(Optional) |
|
metaKey |
boolean |
(Optional) |
Returns:
ShortcutDefinition | undefined