import TemplateListItem from "@arcgis/core/editing/templates/TemplateListItem.js";
Inheritance
TemplateListItemAccessor
Since
ArcGIS Maps SDK for JavaScript 5.1

The item displayed within the FeatureTemplates component.

Constructors

Constructor

Constructor

Parameters

ParameterTypeDescriptionRequired
properties
See the properties table for a list of all the properties that may be passed into the constructor.

Properties

Any properties can be set, retrieved or listened to. See the Watch for changes topic.

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor
Since
ArcGIS Maps SDK for JavaScript 4.7

The name of the class. The declared class name is formatted as esri.folder.className.

description

readonly Property
Type
string

The description that is displayed for the template item. This defaults to the FeatureTemplate.description property of the template.

id

readonly Property
Type
string

Unique identifier for the template item.

label

readonly Property
Type
string

The label that is displayed for the template item.

layer

Property
Type
LayerWithFeatureTemplatesUnion

The layer associated with the template item.

template

Property
Type
FeatureTemplate | SharedTemplateMetadata

The associated FeatureTemplate for the item.

thumbnail

Property
Type
HTMLElement | undefined

An object used to create a thumbnail image that represents a feature type in the feature template.

See also