@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
27 lines (26 loc) • 963 B
TypeScript
import type { Action } from "@vertigis/arcgis-extensions/support/Action";
import type { ComponentModelProperties as CommonComponentModelProperties } from "../common/ComponentModelProperties.js";
import type { ResultsModelProperties as CommonResultsModelProperties } from "../common/ResultsModelProperties.js";
/**
* @inheritdoc
*/
export interface ResultsModelProperties extends CommonResultsModelProperties, CommonComponentModelProperties {
/**
* A command or set of commands to execute when all features have been
* removed.
*/
onAllFeaturesRemoved?: Action;
/**
* A command or set of commands to execute when a feature is located.
*/
onFeatureLocate?: Action;
/**
* A command or set of commands to execute when a feature gets refreshed.
*/
onFeatureRefresh?: Action;
/**
* A command or set of commands to execute when a the search history is
* cleared.
*/
onClear?: Action;
}