core/common/extension-hooks.ts
Properties |
Methods |
|
constructor(rootInjector: Injector, pluginService: PluginsResolveService)
|
|||||||||
|
Parameters :
|
| factories |
Type : ExtensionFactory<T>[]
|
Default value : []
|
| Protected injectors |
Type : Injector[]
|
|
All injectors to search for an extension. |
| items$ |
Type : Observable<T[]>
|
| Readonly refresh$ |
Type : Observable<void>
|
| Readonly state$ |
Default value : new BehaviorSubject<Set<T>>(new Set<T>())
|
| refresh |
refresh()
|
|
Refresh the extension factories
Returns :
void
|
| Protected Abstract setupItemsObservable |
setupItemsObservable()
|
|
Should be called within the constructor of the extending class and set the items$ attribute.
Returns :
Observable<T[]>
|
| 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>
|