@coveo/headless
    Preparing search index...

    Interface CaseAssistQuickview

    The CaseAssistQuickview controller provides an interface for triggering desirable side effects, such as logging UA events to the Coveo Platform, when a user interacts with a quickview.

    For example implementations, see the following Coveo Quantic Case Assist components:

    interface CaseAssistQuickview {
        state: CaseAssistQuickviewState;
        fetchResultContent(): void;
        next(): void;
        previous(): void;
        subscribe(listener: () => void): Unsubscribe;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Retrieves the preview content for the next available result in the current result set.

      If it reaches the last available result in the current result set, it will not perform an additional query to fetch new results.

      Instead, it will loop back to the first available result.

      If options.onlyContentURL is true this will update the contentURL state property rather than content.

      Returns void

    • Retrieves the preview content for the previous available result in the current result set.

      If it reaches the first available result in the current result set, it will not perform an additional query to fetch new results.

      Instead, it will loop back to the last available result.

      If options.onlyContentURL is true this will update the contentURL state property rather than content.

      Returns void

    Properties

    The state for the Quickview controller.