core/dashboard/dashboard.model.ts
Is used to configure a widget dashboard. It allows to set certain parameter that change the behavior of the dashboard.
Properties |
|
allowFullscreen |
allowFullscreen:
|
Type : boolean
|
Should the user be able to switch to fullscreen mode. |
canCopy |
canCopy:
|
Type : boolean
|
Optional |
If set to false, the dashboard can not be copied (default true). |
canDelete |
canDelete:
|
Type : boolean
|
Optional |
If set to false, the dashboard can not be removed (default true). |
columns |
columns:
|
Type : number
|
Optional |
The amount of columns on that dashboard. Can be freely chosen, but product uses either 12 or 24. |
defaultHeight |
defaultHeight:
|
Type : number
|
New added widgets get that height attached (in css grid columns units) |
defaultWidth |
defaultWidth:
|
Type : number
|
New added widgets get that width attached (in css grid row units) |
isDisabled |
isDisabled:
|
Type : boolean
|
If the dashboard is disabled, no changes on this dashboard are allowed. E.g. because the user doesn't have the rights. |
isFrozen |
isFrozen:
|
Type : boolean
|
If the dashboard is frozen, the user can't edit it any more. However he can delete it and change the frozen state. |
isLoading |
isLoading:
|
Type : boolean
|
Optional |
Indicates that the dashboard is loading. |
title |
title:
|
Type : string
|
Optional |
A global title that is used for this dashboard. |
translateWidgetTitle |
translateWidgetTitle:
|
Type : boolean
|
Should the application check if a translation is present for the widget title. |
widgetMargin |
widgetMargin:
|
Type : number
|
The gap between each widget as pixel |