Interface StandaloneSearchBox

The StandaloneSearchBox controller is responsible for handling a standalone search box.

interface StandaloneSearchBox {
    state: StandaloneSearchBoxState;
    afterRedirection(): void;
    clear(): void;
    selectSuggestion(value: string): void;
    showSuggestions(): void;
    submit(): void;
    subscribe(listener: () => void): Unsubscribe;
    updateRedirectUrl(url: string): void;
    updateText(value: string): void;
}

Hierarchy (View Summary)

Methods

Properties

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