layoutWidgetsWithPaths()
Home > @gooddata/sdk-backend-spi > layoutWidgetsWithPaths
layoutWidgetsWithPaths() 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.
Get all dashboard widgets (layout does not only specify rendering, but also all used widgets)
Signature:
export declare function layoutWidgetsWithPaths<TWidget extends IDashboardWidget>(layout: IDashboardLayout<TWidget>): IWidgetWithLayoutPath<TWidget>[];
Parameters
Parameter | Type | Description |
---|---|---|
layout | IDashboardLayout<TWidget> | dashboard layout |
Returns:
IWidgetWithLayoutPath<TWidget>[]
- widgets with layout paths