Interface: ChoiceInterface
Defined in: src/narration/interfaces/ChoiceInterface.ts:6
Properties
autoSelect?
> optional autoSelect?: boolean
Defined in: src/narration/interfaces/ChoiceInterface.ts:30
If this is true and if is the only choice, it will be automatically selected, and call/jump to the label.
closeCurrentLabel?
> optional closeCurrentLabel?: boolean
Defined in: src/narration/interfaces/ChoiceInterface.ts:34
If true, the current label will be closed
label
> label: string
Defined in: src/narration/interfaces/ChoiceInterface.ts:14
Label Id to be opened when the option is selected
oneTime?
> optional oneTime?: boolean
Defined in: src/narration/interfaces/ChoiceInterface.ts:22
If this is true, the choice can only be made once.
onlyHaveNoChoice?
> optional onlyHaveNoChoice?: boolean
Defined in: src/narration/interfaces/ChoiceInterface.ts:26
If this is true, the choice can see only if there are no other choices. For example, all choices are one-time choices and they are already selected.
props?
> optional props?: StorageObjectType
Defined in: src/narration/interfaces/ChoiceInterface.ts:38
Properties to be passed to the label and olther parameters that you can use when get all the choice menu options.
text
> text: string | string[]
Defined in: src/narration/interfaces/ChoiceInterface.ts:10
Text to be displayed in the menu
type
> type: "close" | LabelRunModeType
Defined in: src/narration/interfaces/ChoiceInterface.ts:18
Type of the label to be opened