import TextElementInput from "@arcgis/core/widgets/BatchAttributeForm/inputs/TextElementInput.js";const TextElementInput = await $arcgis.import("@arcgis/core/widgets/BatchAttributeForm/inputs/TextElementInput.js");- Inheritance:
- TextElementInput→
SingleFeatureInput<any>→ InputBase→ Accessor
- Since
- ArcGIS Maps SDK for JavaScript 5.0
This is a read-only support class that represents a text element in a BatchAttributeForm.
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 | ||
description readonly inherited | ||
existsInAllLayers readonly inherited | ||
feature readonly inherited | ||
group readonly | | |
label readonly inherited | ||
layer readonly inherited | ||
layers readonly inherited | ||
text readonly | | |
type readonly | "text" | |
visible readonly inherited |
existsInAllLayers
readonlyinherited Property
- Type
- boolean
Inherited from: InputBase
Indicates whether the input pertains to all the features in the BatchAttributeForm in which the input belongs.
- Default value
- true
feature
readonlyinherited Property
Inherited from: SingleFeatureInput
The single feature associated with this form element.
layer
readonlyinherited Property
Inherited from: SingleFeatureInput
Identifies the single feature layer associated with this form element. The layer must support feature editing and field access.
The following layer types are supported:
- FeatureLayer
- GeoJSONLayer
- SceneLayer (with
featureLayerproperty) - SubtypeSublayer
- OrientedImageryLayer
- KnowledgeGraphSublayer
layers
readonlyinherited Property
Inherited from: InputBase
An array of layers included in the BatchAttributeForm. Each layer must support feature editing and field access.
The following layer types are supported:
- FeatureLayer
- GeoJSONLayer
- SceneLayer (with
featureLayerproperty) - SubtypeSublayer
- OrientedImageryLayer
- KnowledgeGraphSublayer
text
readonly Property
- Type
- string
The processed text, compiled and with expressions replaced with values.