context-dashboard/device-management-home-dashboard/device-management-home-dashboard.component.ts
OnInit
CanDeactivateComponent
selector | c8y-device-management-home-dashboard |
templateUrl | ./device-management-home-dashboard.component.html |
Properties |
Methods |
constructor(widgetService: WidgetService)
|
||||||
Parameters :
|
canDeactivate |
canDeactivate()
|
Returns :
Promise<boolean>
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
contextDashboard |
Type : ContextDashboardComponent
|
Decorators :
@ViewChild(ContextDashboardComponent, {static: true})
|
dashboardName |
Type : string
|
Default value : 'home-dm1'
|
widgets |
Type : []
|
Default value : []
|
<c8y-title>
{{ 'Home' | translate }}
</c8y-title>
<c8y-context-dashboard
[name]="dashboardName"
[defaultWidgets]="defaultWidgets"
[canDelete]="false"
[hideAvailability]="true"
></c8y-context-dashboard>