selectAnalyticalWidgetByRef
Home > @gooddata/sdk-ui-dashboard > selectAnalyticalWidgetByRef
selectAnalyticalWidgetByRef variable
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Selects analytical widget by its ref. This selector will return undefined if the provided widget ref is for a custom widget.
Signature:
selectAnalyticalWidgetByRef: (ref: ObjRef | undefined) => DashboardSelector<IWidget | undefined>
Remarks
To include custom widgets as well, use selectWidgetByRef.