ChoiceFactoryOptions interface
Additional options used to tweak the formatting of choice lists.
Properties
| include |
(Optional) if |
| inline |
(Optional) separator inserted between the choices when their are only 2 choices. The default
value is |
| inline |
(Optional) separator inserted between the last 2 choices when their are more than 2 choices.
The default value is |
| inline |
(Optional) character used to separate individual choices when there are more than 2 choices.
The default value is |
Property Details
includeNumbers
(Optional) if true, inline and list style choices will be prefixed with the index of the
choice as in "1. choice". If false, the list style will use a bulleted list instead. The
default value is true.
includeNumbers?: boolean
Property Value
boolean
inlineOr
(Optional) separator inserted between the choices when their are only 2 choices. The default
value is " or ".
inlineOr?: string
Property Value
string
inlineOrMore
(Optional) separator inserted between the last 2 choices when their are more than 2 choices.
The default value is ", or ".
inlineOrMore?: string
Property Value
string
inlineSeparator
(Optional) character used to separate individual choices when there are more than 2 choices.
The default value is ", ".
inlineSeparator?: string
Property Value
string