@witchcraft/spellcraft
Github
Issues
npm
Preparing search index...
helpers/getTriggerableShortcut
getTriggerableShortcut
Function getTriggerableShortcut
getTriggerableShortcut
(
manager
:
Pick
<
Manager
,
"context"
|
"shortcuts"
|
"commands"
|
"keys"
>
&
PickManager
<
"options"
,
"stringifier"
|
"evaluateCondition"
,
>
&
PickManager
<
"state"
,
"chain"
|
"isRecording"
>
,
)
:
Result
<
false
|
TriggerableShortcut
,
KnownError
<
"MULTIPLE_MATCHING_SHORTCUTS"
>
,
>
Gets all triggerable shortcuts in a manager.
Parameters
manager
:
Pick
<
Manager
,
"context"
|
"shortcuts"
|
"commands"
|
"keys"
>
&
PickManager
<
"options"
,
"stringifier"
|
"evaluateCondition"
,
>
&
PickManager
<
"state"
,
"chain"
|
"isRecording"
>
Returns
Result
<
false
|
TriggerableShortcut
,
KnownError
<
"MULTIPLE_MATCHING_SHORTCUTS"
>
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Github
Issues
npm
@witchcraft/spellcraft
Loading...
Gets all triggerable shortcuts in a manager.