Interface FoldedResultList

The FoldedResultList headless controller re-organizes results into hierarchical collections (a.k.a. threads).

Example: folded-result-list.fn.tsx

interface FoldedResultList {
    state: FoldedResultListState;
    fetchMoreResults(): void;
    findResultByCollection(collection: FoldedCollection): null | FoldedResult;
    findResultById(collection: FoldedCollection): null | FoldedResult;
    loadCollection(collection: FoldedCollection): void;
    logShowLessFoldedResults(): void;
    logShowMoreFoldedResults(result: Result): void;
    subscribe(listener: () => void): Unsubscribe;
}

Hierarchy (View Summary)

Methods

Properties

The state of the FoldedResultList controller.