core/dashboard/dashboard.model.ts
A widget is a child on a dashboard which can be added and configured by the user. A widget can be defined by the [[DynamicComponentDefinition]] by any module of an application. Thew widget itself stores beside it's link (componentId) to the DynamicComponentDefinition the information about the title, layout (classes) and the configuration.
Properties |
| _height |
_height:
|
Type : number
|
| Optional |
|
height dimension parameters |
| _width |
_width:
|
Type : number
|
| Optional |
|
width dimension parameters |
| _x |
_x:
|
Type : number
|
| Optional |
|
x dimension parameters |
| _y |
_y:
|
Type : number
|
| Optional |
|
y dimension parameters |
| classes |
classes:
|
Type : any
|
| Optional |
|
Which classes should be added. |
| componentId |
componentId:
|
Type : string
|
|
The unique component id to find the component in the HOOK_COMPONENTS dynamic-component implementation. |
| config |
config:
|
Type : any
|
|
The current configuration of the widget. |
| id |
id:
|
Type : string
|
|
A random key for saving it to the object. |
| title |
title:
|
Type : string
|
| Optional |
|
The current title of the widget. |