interface Action { isEnabled(effectiveMenuPath,
...args): boolean; isToggled(effectiveMenuPath,
...args): boolean; run(effectiveMenuPath,
...args): Promise<void>; } Methods
isEnabled
- isEnabled(effectiveMenuPath, ...args): boolean
Parameters
- effectiveMenuPath: MenuPath
Rest
...args: unknown[]
Returns boolean
isToggled
- isToggled(effectiveMenuPath, ...args): boolean
Parameters
- effectiveMenuPath: MenuPath
Rest
...args: unknown[]
Returns boolean
run
- run(effectiveMenuPath, ...args): Promise<void>
Parameters
- effectiveMenuPath: MenuPath
Rest
...args: unknown[]
Returns Promise<void>