Options
All
  • Public
  • Public/Protected
  • All
Menu

Class QuestionnaireControlState

State tracked by a QuestionnaireControl.

Hierarchy

  • QuestionnaireControlState

Implements

Properties

Optional focusQuestionId

focusQuestionId: undefined | string

Which questionId is active, aka in focus.

lastInitiative

lastInitiative: LastInitiativeState

Tracks the last initiative act from the control

requiresExplicitCompletion

requiresExplicitCompletion: boolean

Should we require an explicit completion. (e.g. after rejecting are you done, or re-activating the control)

userDisconfirmedCompletion

userDisconfirmedCompletion: boolean

Whether the user has been ask if they are done and replied 'no'.

userExplicitlyCompleted

userExplicitlyCompleted: boolean

Whether the user has explicitly completed the questionnaire.

value

The answers as a map of (questionId, answerId) pairs.