core/dynamic-component/dynamic-component.service.ts
Properties |
|
Methods |
Accessors |
constructor(injector: Injector, router: Router)
|
add | ||||||
add(component: DynamicComponentDefinition)
|
||||||
Parameters :
Returns :
void
|
getById$ | ||||||
getById$(id)
|
||||||
Returns a component by it's id as an observable.
Parameters :
Returns :
any
|
getComponentsViaDeprecatedHook |
getComponentsViaDeprecatedHook()
|
Returns :
{}
|
refresh |
refresh()
|
Returns :
void
|
remove | ||||||
remove(component: DynamicComponentDefinition)
|
||||||
Parameters :
Returns :
void
|
items$ |
items$:
|
Type : Observable<DynamicComponentDefinition[]>
|
Readonly refreshTrigger |
refreshTrigger:
|
Default value : new Subject()
|
Readonly state$ |
state$:
|
Default value : new BehaviorSubject<Set<DynamicComponentDefinition>>(
new Set<DynamicComponentDefinition>()
)
|
state |
getstate()
|