▾
import ItemBase from "@arcgis/core/widgets/support/SelectionList/ItemBase.js";const ItemBase = await $arcgis.import("@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
| Parameter | Type | Description | Required |
|---|---|---|---|
| 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.
| Property | Type | Class |
|---|---|---|
| readonly inherited | ||
| readonly | Icon["icon"] | |
| readonly | | |
| readonly | | |
| readonly | | |
| readonly | | |
| readonly | | |
| readonly | | |
| readonly | |
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.
view
readonly Property
- Type
- SelectableViewUnion | null | undefined
Convenience property for the view associated with the view model.