File

src/core/services/smart-mdi-registry.service.ts

Description

A registry service used for registering/retreiving the application-level SmartMdiComponent.

Index

Properties
Methods

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 :
Name Type Optional
component SmartMdiComponent No
Returns : void

Properties

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.

results matching ""

    No results matching ""