Skip to content
import TextElementInput from "@arcgis/core/widgets/FeatureForm/TextElementInput.js";
Inheritance:
TextElementInputInputBase<TextElement>Accessor
Since
ArcGIS Maps SDK for JavaScript 4.32
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
expressionsUsed
readonly
string[]
fieldsUsed
readonly
string[]
group
readonly
rawText
readonly
text
readonly
textFormat
readonly
type
readonly
"text"

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor

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

expressionsUsed

readonly Property
Type
string[]

All Aracde expressions referenced, via string substitution, in the text content. The strings in this array are the names of the expressionInfo objects defining the expressions in the FormTemplate.

fieldsUsed

readonly Property
Type
string[]

The names of all fields referenced, via string templates, in the text content.

group

readonly Property
Type
GroupInput | null | undefined

The group containing the text element input.

rawText

readonly Property
Type
string | null | undefined

The content of the TextElement, as a string in either plain-text (no formatting) or Markdown. See TextElement.text for details on supported Markdown features and on field and Arcade expression substitution.

text

readonly Property
Type
string

The processed text, compiled and with template parameters replaced with values.

textFormat

readonly Property
Type
TextFormatType

Defines the format of the text property.

Default value
"plain-text"

type

readonly Property
Type
"text"

The type of input.