selectWidgetByRef
Home > @gooddata/sdk-ui-dashboard > selectWidgetByRef
selectWidgetByRef 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 widget by its ref (including custom widgets).
Signature:
selectWidgetByRef: (ref: ObjRef | undefined) => DashboardSelector<ExtendedDashboardWidget | undefined>
Remarks
To limit the scope only to analytical widgets, use selectAnalyticalWidgetByRef.