core/user/user-menu.service.ts
Properties |
Methods |
|
Accessors |
constructor()
|
add | ||||||||
add(item: UserMenuItem)
|
||||||||
Adds a new item to the search in the header.
Parameters :
Returns :
void
|
remove | ||||||||
remove(item: UserMenuItem)
|
||||||||
Removes an search from the header.
Parameters :
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>
|
items$ |
Type : Observable<UserMenuItem[]>
|
state$ |
Default value : new BehaviorSubject({
userMenuItems: new Set<UserMenuItem>()
})
|
state |
getstate()
|
Returns the current state. |