src/core/services/smart-mdi-registry.service.ts
A registry service used for registering/retreiving the application-level SmartMdiComponent.
Properties |
|
Methods |
| deregisterMdiComponent |
deregisterMdiComponent()
|
|
Deregisters the SmartMdiComponent, if any, and publishes a value of null to any subscribers
Returns :
void
|
| registerMdiComponent | ||||||
registerMdiComponent(component: SmartMdiComponent)
|
||||||
|
Registers the SmartMdiComponent and publishes it to any subscribers
Parameters :
Returns :
void
|
| smartMdiComponent |
| Use smartMdiComponentSignal instead |
Type : ReplaySubject<SmartMdiComponent>
|
Default value : new ReplaySubject<SmartMdiComponent>(1)
|
|
Used for publishing the SmartMdiComponent instance to any subscribers, when it is set. |
| Public Readonly smartMdiComponentSignal |
Type : Signal<SmartMdiComponent | null>
|
Default value : this._smartMdiComponentSignal.asReadonly()
|
|
Signal holding the registered SmartMdiComponent instance. |