selectFilterContextAttributeFilterIndexByLocalId()
Warning: This API is now obsolete.
Use selectFilterContextAttributeFilterItemIndexByLocalId() to include all attribute filter types.
Creates a selector for selecting element-based attribute filter index by its localId.
selectFilterContextAttributeFilterIndexByLocalId: (localId: string) => DashboardSelector<number>
Parameters
Parameter | Type | Description |
|---|---|---|
localId | string |
Returns
DashboardSelector<number>
Remarks
Invocations before initialization lead to invariant errors.
Note: This selector does not match arbitrary or match (text) attribute filters. Use selectFilterContextAttributeFilterItemIndexByLocalId() to match all attribute filter types.