@coveo/headless
    Preparing search index...

    Interface RecentResultsState

    A scoped and simplified part of the headless state that is relevant to the RecentResultsList controller.

    interface RecentResultsState {
        maxLength: number;
        results: Result[];
    }
    Index

    Properties

    Properties

    maxLength: number

    The maximum number of results to retain in the list.

    results: Result[]

    The list of recent results.