File

context-dashboard/cockpit-dashboard/cockpit-dashboard.component.ts

Implements

CanDeactivateComponent

Metadata

Index

Properties
Methods

Constructor

constructor(appState: AppStateService, homeDashboardConfig: CockpitDashboardConfig)
Parameters :
Name Type Optional
appState AppStateService No
homeDashboardConfig CockpitDashboardConfig No

Methods

canDeactivate
canDeactivate()
Returns : Promise<boolean>

Properties

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>

results matching ""

    No results matching ""