context-dashboard/cockpit-dashboard/cockpit-dashboard.component.ts
selector | c8y-cockpit-dashboard |
templateUrl | ./cockpit-dashboard.component.html |
Properties |
Methods |
constructor(appState: AppStateService, homeDashboardConfig: CockpitDashboardConfig)
|
|||||||||
Parameters :
|
canDeactivate |
canDeactivate()
|
Returns :
Promise<boolean>
|
contextDashboard |
Type : ContextDashboardComponent
|
Decorators :
@ViewChild(ContextDashboardComponent, {static: true})
|
dashboardName |
Type : string
|
Default value : 'home-cockpit1'
|
defaultWidgets |
Default value : DEFAULT_COCKPIT_HOME_WIDGETS
|
pageTitle |
Type : string
|
Default value : gettext('Home')
|
<c8y-title>
{{ pageTitle | translate }}
</c8y-title>
<c8y-context-dashboard
[name]="dashboardName"
[defaultWidgets]="defaultWidgets"
[canDelete]="false"
[hideAvailability]="true"
></c8y-context-dashboard>