selectWidgetCoordinatesByRef()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
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.
selectWidgetCoordinatesByRef: (ref: ObjRef) => DashboardSelector<ILayoutCoordinates>
Parameters
Parameter | Type | Description |
|---|---|---|
ref |
Returns