terriajs
Version:
Geospatial data visualization platform.
23 lines • 833 B
JavaScript
/**
* An ItemSearchProvider provides an API for searching within an item.
*
*/
export default class ItemSearchProvider {
options;
parameterOptions;
constructor(options, parameterOptions) {
this.options = options;
this.parameterOptions = parameterOptions;
}
/**
* An optional hook to receive a hint that the user might search the parameter with `parameterId`.
*
* If indexes for parameters takes too long to load, implementing this method can
* improve search time by pre-emptively loading the index. This hook is called
* while the user is inputing value for the parameter. It can be called
* multiple times, so the implementation must take care not to make
* duplicate requests.
*/
loadParameterHint;
}
//# sourceMappingURL=ItemSearchProvider.js.map