Types
import type { ListItemModifier, ListItemModifierEvent, State } from "@arcgis/core/widgets/TableList/types.js";

Type definitions

ListItemModifier

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

A function for customizing a list item as it is created in the table list.

See also

Parameters

ParameterTypeDescriptionRequired
event

An object containing a list item created by the TableList.

Returns
void

ListItemModifierEvent

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

item

Property
Type
ListItem
Since
ArcGIS Maps SDK for JavaScript 5.0

The event object passed to a listItemCreatedFunction in the layer lists. Provides access to the list item being created, allowing you to customize its properties, actions, panel content, or visibility before rendering.

See also

State

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

Describes the current state of the list items in the TableListViewModel.

See also
Type
"ready" | "loading" | "disabled"