selectInsightByWidgetRef()
Home > @gooddata/sdk-ui-dashboard > selectInsightByWidgetRef
selectInsightByWidgetRef() function
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 insight used on a dashboard by widget ref.
Signature:
selectInsightByWidgetRef: (ref: ObjRef | undefined) => DashboardSelector<IInsight | undefined>
Parameters
Parameter | Type | Description |
---|---|---|
ref | ObjRef | undefined |
Returns:
DashboardSelector<IInsight | undefined>