@coveo/headless
    Preparing search index...

    Interface GeneratedAnswerPropsInitialState

    interface GeneratedAnswerPropsInitialState {
        initialState?: {
            expanded?: boolean;
            isEnabled?: boolean;
            isVisible?: boolean;
            responseFormat?: GeneratedResponseFormat;
        };
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    initialState?: {
        expanded?: boolean;
        isEnabled?: boolean;
        isVisible?: boolean;
        responseFormat?: GeneratedResponseFormat;
    }

    Type declaration

    • Optionalexpanded?: boolean

      The initial expanded state of the generated answer.

    • OptionalisEnabled?: boolean

      Sets the component enabled state on load.

    • OptionalisVisible?: boolean

      Sets the component visibility state on load.

    • OptionalresponseFormat?: GeneratedResponseFormat

      The initial formatting options applied to generated answers when the controller first loads.