core/dynamic-component/dynamic-component.service.ts
Properties |
|
Methods |
|
Accessors |
constructor(rootInjector: Injector, router: Router, waitTimeout: number, dynamicResolver: DynamicResolverService)
|
|||||||||||||||
Parameters :
|
add | ||||||
add(component: DynamicComponentDefinition)
|
||||||
Parameters :
Returns :
void
|
Async executeResolvers | ||||||
executeResolvers(componentIdAndConfig: Array
|
||||||
Parameters :
Returns :
unknown
|
getById | ||||||
getById(id)
|
||||||
Returns a component by it's id as an observable.
Parameters :
Returns :
Promise<DynamicComponentDefinition>
|
markPluginsAsLoaded |
markPluginsAsLoaded()
|
Returns :
void
|
refresh |
refresh()
|
Returns :
void
|
remove | ||||||
remove(component: DynamicComponentDefinition)
|
||||||
Parameters :
Returns :
void
|
Async serializeConfigs | ||||||
serializeConfigs(componentIdAndConfig: Array
|
||||||
Parameters :
Returns :
unknown
|
Protected emitNewState |
emitNewState()
|
Emits a new state.
Returns :
void
|
map | ||||||||
map(mappedProperty: (undefined) => void)
|
||||||||
Maps to a property and just returns that property.
Parameters :
Returns :
Observable<any>
|
factories |
Type : DynamicComponentExtension[]
|
Default value : []
|
Additional factories that can be added by plugins. |
injectors |
Type : []
|
Default value : [this.rootInjector]
|
items$ |
Type : Observable<DynamicComponentDefinition[]>
|
Readonly refreshTrigger |
Default value : new Subject()
|
Readonly state$ |
Default value : new BehaviorSubject<Set<DynamicComponentDefinition>>(
new Set<DynamicComponentDefinition>()
)
|
state |
getstate()
|