File

core/dynamic-component/dynamic-component.model.ts

Index

Properties

Properties

component
component: never
Type : never
Optional
configComponent
configComponent: never
Type : never
Optional
loadComponent
loadComponent: function
Type : function

A function returning a promise of the component which is used when the component should be displayed (e.g. on a dashboard)

A sample function to be provided could look like this:

Example :
async function loadViewComponent() {
 const { LazyWidgetViewComponent } = await import('./lazy-widget-view');
 return LazyWidgetViewComponent;
}
loadConfigComponent
loadConfigComponent: function
Type : function
Optional

A function returning a promise of the configuration component used when a widget is added or edited.

A sample function to be provided could look like this:

Example :
async function loadConfigComponent() {
 const { LazyWidgetConfigComponent } = await import('./lazy-widget-config');
 return LazyWidgetConfigComponent;
}

results matching ""

    No results matching ""