ISearchState
Home > @gooddata/sdk-ui-semantic-search > ISearchState
ISearchState interface
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
State of the search.
Signature:
export interface ISearchState
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string |
(ALPHA) The debounced search query. This is the query that is currently being used for the search. It may be different from the query if the user is still typing. | ||
|
string |
(ALPHA) The current search query. This is the query that is currently being typed by the user. It may be different from the debouncedQuery if the user is still typing. | ||
|
"idle" | "searching" | "completed" |
(ALPHA) The current state of the search. - idle - means the user has not typed anything yet - searching - means the user is currently typing - completed - means the user has stopped typing and the search is complete |