Properties
Optional onDidChangeEnabled
on
Did
Change
Enabled
?: Event<void>Methods
execute
- execute(...args: any[]): any
Optional isEnabled
- isEnabled(...args: any[]): boolean
Parameters
Returns boolean
Optional isToggled
- isToggled(...args: any[]): boolean
Parameters
Returns boolean
Optional isVisible
- isVisible(...args: any[]): boolean
Parameters
Returns boolean
A command handler is an implementation of a command.
A command can have multiple handlers but they should be active in different contexts, otherwise first active will be executed.