selectWidgetCoordinatesByRef
Home > @gooddata/sdk-ui-dashboard > selectWidgetCoordinatesByRef
selectWidgetCoordinatesByRef 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.
Warning: This API is now obsolete.
The selector returns coordinates in its parent layout. The information is not useful on its own when dashboard uses nested layout. For this case use selectWidgetPathByRef instead.
TODO LX-648: remove this selector, exported only for backward compatible reasons.
Selects layout coordinates for a given widget.
Signature:
selectWidgetCoordinatesByRef: (ref: ObjRef) => DashboardSelector<ILayoutCoordinates>