selectFilterableWidgetByRef()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Selects filterable widget by its ref (including custom widgets). This selector will return undefined if the provided ref to non-filterable widget.
selectFilterableWidgetByRef: (ref: ObjRef | undefined) => DashboardSelector<IWidget | ICustomWidget | undefined>
Parameters
Parameter | Type | Description |
|---|---|---|
ref | ObjRef | undefined |
Returns
DashboardSelector<IWidget | ICustomWidget | undefined>
Remarks
To limit the scope only to analytical widgets, use selectAnalyticalWidgetByRef().