@coveo/headless
    Preparing search index...

    Interface SmartSnippetCore

    interface SmartSnippetCore {
        state: SmartSnippetState;
        beginDelayedSelectSource(): void;
        cancelPendingSelectSource(): void;
        closeFeedbackModal(): void;
        collapse(): void;
        dislike(): void;
        expand(): void;
        like(): void;
        openFeedbackModal(): void;
        selectSource(): void;
        sendDetailedFeedback(details: string): void;
        sendFeedback(feedback: SmartSnippetFeedback): void;
        subscribe(listener: () => void): Unsubscribe;
    }

    Hierarchy (View Summary)

    Index

    Methods

    Properties

    The state of the SmartSnippet controller.