Properties
Optional
onDidChangeEnabled
onDidChangeEnabled?: Event<void> Methods
execute
- execute(...args): any
Returns any
Optional
isEnabled
- isEnabled(...args): boolean
Returns boolean
Optional
isToggled
- isToggled(...args): boolean
Returns boolean
Optional
isVisible
- isVisible(...args): boolean
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.