ReadonlyfocusedThe currently focused result. -1 if no item is focused yet.
ReadonlyisIndicates that the search input has focus.
ReadonlyisIndicates that we're currently loading search requests.
ReadonlyminCurrent minimum search query length. When using the UI or the API function NutrientViewer.Instance#search, any query shorter than this number will not be performed.
In Server mode, this value is retrieved from the server at load time.
The default value is 1 (not configurable) in Standalone mode,
and 3 in Server mode (configurable in the server).
ReadonlyresultsThe latest search results. These will be rendered as highlights in the page view.
ReadonlytermThe current search term. Changing this term will not start a search. Please use NutrientViewer.Instance#startUISearch for that purpose.
Returns a new instance of this Record type with all values set to their default values.
Returns a new instance of this Record type with the value for the specific key set to its default value.
Returns the value associated with the provided key, which may be the default value defined when creating the Record factory function.
If the requested key is not defined by this Record type, then notSetValue will be returned if provided. Note that this scenario would produce an error when using Flow or TypeScript.
OptionalnotSetValue: anyDeeply converts this Record to equivalent native JavaScript Object.
Note: This method may not be overridden. Objects with custom serialization to plain JS may override toJSON() instead.
The currently focused result. -1 if no item is focused yet.
Indicates that the search input has focus.
Indicates that we're currently loading search requests.
ReadonlyminSearchQueryLength: anyCurrent minimum search query length. When using the UI or the API function NutrientViewer.Instance#search, any query shorter than this number will not be performed.
In Server mode, this value is retrieved from the server at load time.
The default value is 1 (not configurable) in Standalone mode,
and 3 in Server mode (configurable in the server).
The latest search results. These will be rendered as highlights in the page view.
The current search term. Changing this term will not start a search. Please use NutrientViewer.Instance#startUISearch for that purpose.
Shallowly converts this Record to equivalent native JavaScript Object.
The currently focused result. -1 if no item is focused yet.
Indicates that the search input has focus.
Indicates that we're currently loading search requests.
ReadonlyminSearchQueryLength: numberCurrent minimum search query length. When using the UI or the API function NutrientViewer.Instance#search, any query shorter than this number will not be performed.
In Server mode, this value is retrieved from the server at load time.
The default value is 1 (not configurable) in Standalone mode,
and 3 in Server mode (configurable in the server).
The latest search results. These will be rendered as highlights in the page view.
The current search term. Changing this term will not start a search. Please use NutrientViewer.Instance#startUISearch for that purpose.
Shallowly converts this Record to equivalent JavaScript Object.
The currently focused result. -1 if no item is focused yet.
Indicates that the search input has focus.
Indicates that we're currently loading search requests.
ReadonlyminSearchQueryLength: numberCurrent minimum search query length. When using the UI or the API function NutrientViewer.Instance#search, any query shorter than this number will not be performed.
In Server mode, this value is retrieved from the server at load time.
The default value is 1 (not configurable) in Standalone mode,
and 3 in Server mode (configurable in the server).
The latest search results. These will be rendered as highlights in the page view.
The current search term. Changing this term will not start a search. Please use NutrientViewer.Instance#startUISearch for that purpose.
The current state of the search indicators inside the web view.
You can update the search state using Instance#setSearchState.