Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MultiValueListControlState

State tracked by a ListControl.

Hierarchy

  • MultiValueListControlState

Implements

Properties

Optional confirmed

confirmed: undefined | false | true

Tracks if the control state values are confirmed

Optional elicitationAction

elicitationAction: undefined | string

Tracks the most recent elicitation action.

Note: this isn't cleared immediate after user provides a value as the value maybe be invalid and has to be re-elicited. Use state.lastInitiative to test if the most recent turn was a direct elicitation.

lastInitiative

lastInitiative: LastInitiativeState

Tracks the last initiative act from the control

Optional previousValue

previousValue: string[]

The previous value.

Optional spokenItemsPageIndex

spokenItemsPageIndex: undefined | number

Index of the page of items most recently spoken.

value

The list of values as [ (id1, erMatch), (id2, erMatch) ]