Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CommandHandler

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.

Hierarchy

Implemented by

Index

Methods

execute

  • execute(...args: any[]): any

Optional isEnabled

  • isEnabled(...args: any[]): boolean

Optional isToggled

  • isToggled(...args: any[]): boolean

Optional isVisible

  • isVisible(...args: any[]): boolean