core/search/search.service.ts
A service which defines the search function.
Properties |
|
Methods |
|
Accessors |
constructor(injector: Injector, router: Router)
|
add | ||||||||
add(item: Search)
|
||||||||
Adds a new item to the search in the header.
Parameters :
Returns :
void
|
refresh |
refresh()
|
Refresh the extension factories
Returns :
void
|
remove | ||||||||
remove(item: Search)
|
||||||||
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>
|
factories |
Type : SearchExtension[]
|
Default value : []
|
Additional factories that can be added by plugins. |
items$ |
Type : Observable<Search[]>
|
Readonly refreshTrigger |
Default value : new Subject()
|
Protected state$ |
Default value : new BehaviorSubject<Set<Search>>(new Set<Search>())
|
state |
getstate()
|
Returns the current state. |