File

context-dashboard/widget.service.ts

Index

Properties
Methods

Constructor

constructor(dynamicComponentService: DynamicComponentService, translateService: TranslateService, moduleConfig: ContextDashboardConfig | undefined)
Parameters :
Name Type Optional
dynamicComponentService DynamicComponentService No
translateService TranslateService No
moduleConfig ContextDashboardConfig | undefined No

Methods

Async getWidgetDefinition
getWidgetDefinition(componentId: unknown)
Parameters :
Name Type Optional
componentId unknown No
Async getWidgetDefinitions
getWidgetDefinitions(assetMo?: IManagedObject, dashboardMo?: IManagedObject)
Parameters :
Name Type Optional
assetMo IManagedObject Yes
dashboardMo IManagedObject Yes
Async mapLegacy
mapLegacy(widget: Partial<Widget>)
Parameters :
Name Type Optional
widget Partial<Widget> No
Returns : Promise<Widget>

Properties

Public moduleConfig
Type : ContextDashboardConfig | undefined
Decorators :
@Optional()
@Inject(CONTEXT_DASHBOARD_CONFIG)
widgets
Type : DynamicWidgetDefinition[]

results matching ""

    No results matching ""