Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LiteralInitiativeAct

An initiative act that defines literal prompt and reprompt fragments.

Default rendering: "[this.payload.promptFragment]?" for both prompt & reprompt

Usage:

  • Use LiteralInitiativeAct only in simple situations where it would be annoying to create a new custom act only to have a single way to render it.
  • In contrast, specific initiative acts convey information more clearly, maintain controller/view separation and can often be reused in additional scenarios.

Hierarchy

Implements

Constructors

Properties

Methods

Constructors

constructor

Properties

control

control: Control

payload

takesInitiative

takesInitiative: boolean

Methods

render

toString

  • toString(): string
  • Produces a string representation of the SystemAct.

    The associated Control.id is included but the complete details of the associate Control are omitted for brevity.

    Returns string