@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
28 lines (27 loc) • 1.12 kB
TypeScript
import type { Action } from "@vertigis/arcgis-extensions/support/Action";
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
import type { ItemRef } from "./ItemRef.js";
/**
* Base properties for a feature-details component.
*/
export interface FeatureDetailsModelProperties extends ComponentModelProperties {
/**
* A menu of actions used to create clickable action buttons within the
* component. (MenuModel). For Mobile, the first four actions are designated
* as primary actions, with the remainder designated as secondary actions.
* If feature actions are configured globally as well as for the feature's
* source, then all actions will be displayed, with the feature source level
* actions shown first.
*/
featureActions?: ItemRef;
/**
* A command or set of commands to execute when a feature becomes visible
* within the component.
*/
onFeatureShow?: Action;
/**
* A command or set of commands to execute when a feature becomes invisible
* within the component.
*/
onFeatureHide?: Action;
}