core/drawer/drawer.service.ts
Properties |
Methods |
|
Accessors |
constructor(rootInjector: Injector, router: Router, pluginService: PluginsResolveService)
|
||||||||||||
Parameters :
|
add | ||||||||
add(node: DrawerItem)
|
||||||||
Adds a new node to the navigator.
Parameters :
Returns :
void
|
getDrawersForPosition$ | ||||||
getDrawersForPosition$(position: "right" | "left")
|
||||||
Parameters :
Returns :
Observable<DrawerItem[]>
|
remove | ||||||||
remove(node: DrawerItem)
|
||||||||
Removes a node from the navigator.
Parameters :
Returns :
void
|
Protected setupItemsObservable |
setupItemsObservable()
|
Returns :
Observable<DrawerItem[]>
|
refresh |
refresh()
|
Refresh the extension factories
Returns :
void
|
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>
|
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>())
|
state |
getstate()
|
Returns the current state.
Returns :
Set<DrawerItem>
|