Open Pioneer Trails Packages
    Preparing search index...

    API to control the Search component imperatively

    interface SearchApi {
        resetInput(): void;
        setInputValue(inputValue: string): void;
    }

    Implemented by

    Index

    Methods

    • Clears the search input field.

      Returns void

    • Sets the search input field to the given value. The search is not automatically triggered when setting the input value.

      Parameters

      • inputValue: string

        The value to be set in the search input field.

      Returns void