DashboardLayoutItem Class

A layout item that displays a dashboard item.

Declaration

export class DashboardLayoutItem extends DashboardLayoutNode

Remarks

To display a dashboard item within a layout item, pass the DashboardItem descendant to the DashboardLayoutNode.dashboardItem property.

The DashboardLayoutNode.weight property allows you to specify the relative size of the created layout item.

Inheritance

DashboardLayoutNode
DashboardLayoutItem

constructor

Initializes a new instance of the DashboardLayoutItem class.

Declaration

constructor(
    modelJson?: Object,
    serializer?: ModelSerializer
)

Parameters

Name Type Description
modelJson Object
serializer ModelSerializer

An object used for dashboard deserialization. Do not pass this parameter directly.