src/ui/grid/services/smart-grid-registry.service.ts
Properties |
|
Methods |
| deregisterSmartGrid | ||||||
deregisterSmartGrid(grid: string | SmartGridComponent)
|
||||||
|
Parameters :
Returns :
void
|
| getRegisteredSmartGrid | ||||||||
getRegisteredSmartGrid(name: string)
|
||||||||
|
Returns the registered Smart Grid instance, if currently available.
Parameters :
Returns :
SmartGridComponent | undefined
The registered grid. |
| getSmartGrid | ||||||
| Use getSmartGridSignal instead | ||||||
getSmartGrid(name: string)
|
||||||
|
Parameters :
Returns :
ReplaySubject<SmartGridComponent>
ReplaySubject |
| getSmartGridSignal | ||||||||
getSmartGridSignal(name: string)
|
||||||||
|
Returns the grid component as a signal.
Parameters :
Returns :
Signal<SmartGridComponent | undefined>
|
| registerSmartGrid | ||||||
registerSmartGrid(grid: SmartGridComponent)
|
||||||
|
Parameters :
Returns :
void
|
| unregisterAll |
unregisterAll()
|
|
Deregisters all Smart Grids from this registry.
Returns :
void
|
| smartGridAdded |
| Use smartGridAddedSignal instead |
Type : EventEmitter<SmartGridComponent>
|
Default value : new EventEmitter<SmartGridComponent>()
|
| Public Readonly smartGridAddedSignal |
Type : Signal<SmartGridComponent | undefined>
|
Default value : this._smartGridAddedSignal.asReadonly()
|
|
Signal emitted when a Smart Grid is added. |
| smartGridRemoved |
| Use smartGridRemovedSignal instead |
Type : EventEmitter<string>
|
Default value : new EventEmitter<string>()
|
| Public Readonly smartGridRemovedSignal |
Type : Signal<string | undefined>
|
Default value : this._smartGridRemovedSignal.asReadonly()
|
|
Signal emitted when a Smart Grid is removed. |