@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
25 lines (24 loc) • 823 B
TypeScript
import type { Action } from "@vertigis/arcgis-extensions/support/Action";
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
/**
* Configuration for a results component (e.g. results list or results table in
* Web).
*/
export interface ResultsModelProperties extends ComponentModelProperties {
/**
* A command or set of commands to execute when a single feature is clicked.
*/
onFeatureClick?: Action;
/**
* A command or set of commands to execute when a feature becomes invisible.
*/
onFeatureHide?: Action;
/**
* A command or set of commands to execute when a feature gets removed.
*/
onFeatureRemove?: Action;
/**
* A command or set of commands to execute when a feature becomes visible.
*/
onFeatureShow?: Action;
}