File

context-dashboard/device-management-home-dashboard/device-management-home-dashboard.component.ts

Implements

OnInit CanDeactivateComponent

Metadata

Index

Properties
Methods

Constructor

constructor(widgetService: WidgetService)
Parameters :
Name Type Optional
widgetService WidgetService No

Methods

canDeactivate
canDeactivate()
Returns : Promise<boolean>
ngOnInit
ngOnInit()
Returns : void

Properties

contextDashboard
Type : ContextDashboardComponent
Decorators :
@ViewChild(ContextDashboardComponent, {static: true})
dashboardName
Type : string
Default value : 'home-dm1'
defaultWidgets
Default value : [ { name: 'devicemanagement.welcome.widget', title: gettext('Quick links'), _x: 0, _y: 0, _height: 4, _width: 12 }, { name: 'Recent Alarms', title: gettext('Recent alarms'), _x: 12, _y: 0, _height: 4, _width: 12 } ] as Widget[]
widgets
Type : []
Default value : []
<c8y-title>
  {{ 'Home' | translate }}
</c8y-title>

<c8y-context-dashboard
  [name]="dashboardName"
  [defaultWidgets]="defaultWidgets"
  [canDelete]="false"
  [hideAvailability]="true"
></c8y-context-dashboard>

results matching ""

    No results matching ""