blessed-components - v1.25.0
    Preparing search index...

    Interface SearchBarStateModel

    Framework-independent SearchBar state.

    interface SearchBarStateModel {
        activeScope(): SearchBarScope | undefined;
        clear(): boolean;
        nextScope(): SearchBarScope | undefined;
        previousScope(): SearchBarScope | undefined;
        query(): string;
        setOptions(options: CreateSearchBarStateOptions): void;
        setQuery(query: string): boolean;
        setScope(scopeId: string): boolean;
        submit(): boolean;
    }
    Index

    Methods