ESM
import { setFilterPredicate } from "@arcgis/map-components/utils/layer-list-utils.js";

Type definitions

TableSupportedLayers

Type definition
Type
"knowledge-graph" | "map-image" | "tile"

CanSortFunction

Type definition

Parameters

ParameterTypeDescriptionRequired
event
Returns
boolean

CanSortEvent

Type definition

selected

Property
Type
Item | null | undefined

from

Property
Type
Item | null | undefined

to

Property
Type
Item | null | undefined

Functions

setFilterPredicate

Function
Type parameters
<T extends Item | TableItem>
Signature
setFilterPredicate <T extends Item | TableItem>(listEl: List | null | undefined, filterPredicate: null | undefined | ((item: T) => boolean), operationalItems?: Collection<Item>): void

Parameters

ParameterTypeDescriptionRequired
listEl
List | null | undefined
filterPredicate
null | undefined | ((item: T) => boolean)
operationalItems
Returns
void