Interface Summary<State>

The Summary sub-controller manages a summary of the current search results.

interface Summary<State> {
    state: State;
    subscribe(listener: (() => void)): Unsubscribe;
}

Type Parameters

  • State extends SummaryState = SummaryState

Hierarchy (view full)

Methods

Properties

Methods

Properties

state: State

A scoped and simplified part of the headless state that is relevant to the SearchSummary sub-controller.