File

core/user/user-menu.service.ts

Extends

StateService

Index

Properties
Methods
Accessors

Methods

add
add(item: UserMenuItem)

Adds a new item to the search in the header.

Parameters :
Name Type Optional Description
item UserMenuItem No

The item to add.

Returns : void
remove
remove(item: UserMenuItem)

Removes an search from the header.

Parameters :
Name Type Optional Description
item UserMenuItem No

The item to remove.

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 :
Name Type Optional Description
mappedProperty function No

The property to map to.

Returns : Observable<any>

Properties

state$
Type : BehaviorSubject<any>
Default value : new BehaviorSubject<any>({ userMenuItems: new Set<UserMenuItem>() })

Accessors

state
getstate()

Returns the current state.

results matching ""

    No results matching ""