import ItemBase from "@arcgis/core/widgets/support/SelectionList/ItemBase.js";
Inheritance
ItemBase→Accessor
Subclasses
FeatureItem, GroupLayerItem, LayerItem
Since
ArcGIS Maps SDK for JavaScript 5.2

Base class for selection list items.

Constructors

Constructor

Constructor

Parameters

ParameterTypeDescriptionRequired
properties

Initial item 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
readonly inherited
readonly
Icon["icon"]
readonly
key
readonly
readonly
readonly
readonly
readonly
readonly

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.

iconName

readonly Property
Type
Icon["icon"]

Icon used to represent the item.

isTable

readonly Property
Type
boolean

Indicates this item represents a table layer.

key

readonly Property
Type
string

Unique identifier used for the item.

layer

readonly Property
Type
SelectableLayer | SelectionListParentLayerUnion

Layer associated with the item.

layerIsVisible

readonly Property
Type
boolean

Indicates the layer and its selected features are visible on the map.

layerView

readonly Property
Type
SelectableLayerView | null | undefined

Companion layer view of the associated layer.

title

readonly Property
Type
string | null | undefined

Text used in the interface for the item.

view

readonly Property
Type
SelectableViewUnion | null | undefined

Convenience property for the view associated with the view model.