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)
Parameters :
Name Optional
componentId No
getWidgetDefinitions
getWidgetDefinitions()
Returns : any
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 : DynamicComponentDefinition[]

results matching ""

    No results matching ""