Represents command executor class. It responses for call/cancel commands.

Constructors

Properties

textInput: string = ""

Accessors

  • get message(): string
  • Gets user message.

    Returns string

  • set message(theMessage: string): void
  • Sets user message.

    Parameters

    • theMessage: string

    Returns void

Methods

  • Get active command.

    Returns null | Command

    active command.

  • Create and call command by given type

    Parameters

    • theCommand: typeof Command

      Command

    • theParam: any

    Returns void

  • Init commands predefined commands.

    Returns void

  • Set current text input value.

    Parameters

    • theValue: string

      text input value.

    Returns void