The SearchBox controller allows users to enter a query and submit it to the Insight engine.

interface SearchBox {
    state: SearchBoxState;
    clear(): void;
    selectSuggestion(value: string): void;
    showSuggestions(): void;
    submit(): void;
    subscribe(listener: () => void): Unsubscribe;
    updateText(value: string): void;
}

Hierarchy (View Summary)

Methods

Properties

The state of the SearchBox controller.