Documentation - v1.2.0-alpha.3
    Preparing search index...

    Additional options used to tweak the formatting of choice lists.

    interface ChoiceFactoryOptions {
        includeNumbers?: boolean;
        inlineOr?: string;
        inlineOrMore?: string;
        inlineSeparator?: string;
    }
    Index

    Properties

    includeNumbers?: boolean

    (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.

    inlineOr?: string

    (Optional) separator inserted between the choices when their are only 2 choices. The default value is " or ".

    inlineOrMore?: string

    (Optional) separator inserted between the last 2 choices when their are more than 2 choices. The default value is ", or ".

    inlineSeparator?: string

    (Optional) character used to separate individual choices when there are more than 2 choices. The default value is ", ".