AutocompleteViewConfig
interface
The configuration of the SearchTextView
class.
Type parameters
-
TConfigInputCreator : extends InputBase<HTMLInputElement | HTMLTextAreaElement>
Properties
-
class : string | undefined
inheritedmodule:ui/autocomplete/autocompleteview~AutocompleteViewConfig#class
The custom CSS class name to be added to the search view element.
-
filteredView : FilteredView
inheritedmodule:ui/autocomplete/autocompleteview~AutocompleteViewConfig#filteredView
The view that is filtered by the search query.
-
infoView : object | undefined
inheritedmodule:ui/autocomplete/autocompleteview~AutocompleteViewConfig#infoView
The view that displays the information about the search results.
-
queryMinChars : number | undefined
module:ui/autocomplete/autocompleteview~AutocompleteViewConfig#queryMinChars
Minimum number of characters that need to be typed before the search is performed.
Defaults to
0
-
queryView : SearchTextQueryViewConfig<TConfigInputCreator>
inheritedmodule:ui/autocomplete/autocompleteview~AutocompleteViewConfig#queryView
The configuration of the view's query field.
-
resetOnBlur : boolean | undefined
module:ui/autocomplete/autocompleteview~AutocompleteViewConfig#resetOnBlur
When set
true
, the query view will be reset when the autocomplete view loses focus.