Skip to content
import TemplateItemGroup from "@arcgis/core/widgets/FeatureTemplates/TemplateItemGroup.js";
Inheritance:
TemplateItemGroupAccessor
Since
ArcGIS Maps SDK for JavaScript 4.10

This is a read-only support class that represents a group of items displayed within the FeatureTemplates widget.

See also

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.
PropertyTypeClass
declaredClass
readonly inherited
items
readonly
label
readonly
uid
readonly inherited

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor

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

items

readonly Property
Type
TemplateItem[]

An array of TemplateItems grouped to display in the FeatureTemplates widget.

label

readonly Property
Type
string

The label displayed in the FeatureTemplates widget indicating the grouped TemplateItems.

uid

readonlyinherited Property
Type
string
Inherited from: IdentifiableMixin
Since
ArcGIS Maps SDK for JavaScript 4.33

An automatically generated unique identifier assigned to the instance. The unique id is generated each time the application is loaded.

Methods

MethodSignatureClass
reapplyFilter(): void

reapplyFilter

Method
Signature
reapplyFilter (): void

Notifies the tracking system that filterFunction has changed and that items may therefore need to be recomputed. Call this method if filterFunction accesses some value or state that is not able to be observed by the SDK's tracking mechanism.

Returns
void