ESM:
import * as types from "@arcgis/core/widgets/Search/types.js";
CDN:
const types = await $arcgis.import("@arcgis/core/widgets/Search/types.js");
Object:
@arcgis/core/widgets/Search/types
Since: ArcGIS Maps SDK for JavaScript 4.33
A module for importing types used in Search modules.
Type Definitions
-
SearchResponse
SearchResponse BaseSearchResponse
-
When resolved, returns this response after calling search.
- Properties
-
results SearchResults[]
An array of objects representing the results of search.
errors SearchResults[]An array of suggest errors.
-
The result object returned from the search results.
-
SearchResults
SearchResults BaseSearchResults
-
The array of results returned from the search.
- Property
-
results SearchResult[]
An array of search results.
-
SuggestResponse
SuggestResponse BaseSearchResponse
-
Result of calling suggest.
- Properties
-
results SuggestResults[]
An array of objects representing the results of search.
errors SuggestResults[]An array of search errors.
-
The result object returned from a suggest.
- Properties
-
SuggestResults
SuggestResults BaseSearchResults
-
The array of results returned from the suggest.
- Property
-
results SuggestResult[]
An array of search results.