@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
27 lines (26 loc) • 915 B
TypeScript
import type { Action } from "@vertigis/arcgis-extensions/support/Action";
import type { FeatureDetailsModelProperties as CommonFeatureDetailsModelProperties } from "../common/FeatureDetailsModelProperties.js";
/**
* Properties for a feature-details component.
*/
export interface FeatureDetailsModelProperties extends CommonFeatureDetailsModelProperties {
/**
* The maximum size of a given attachment, in bytes.
*/
maxAttachmentSize?: number;
/**
* The action to perform when delete is called from the feature details
* view.
*/
onFeatureDelete?: Action;
/**
* The action to perform when delete is called from the feature details
* view.
*/
onFeatureEdit?: Action;
/**
* The action to perform when navigating between features within the feature
* details view, in particular related records.
*/
onFeatureNavigated?: Action;
}