import TemplateItemGroup from "@arcgis/core/widgets/FeatureTemplates/TemplateItemGroup.js";const TemplateItemGroup = await $arcgis.import("@arcgis/core/widgets/FeatureTemplates/TemplateItemGroup.js");- Inheritance:
- TemplateItemGroup→
Accessor
- 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.
Constructors
Constructor
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| 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.
| Property | Type | Class |
|---|---|---|
declaredClass readonly inherited | ||
items readonly | | |
label readonly | | |
uid readonly inherited |
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
| Method | Signature | Class |
|---|---|---|
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