core/search/search.service.ts
A service which defines the dearch 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
|
| items$ |
items$:
|
Type : Observable<Search[]>
|
| Readonly refreshTrigger |
refreshTrigger:
|
Default value : new Subject()
|
| Protected state$ |
state$:
|
Default value : new BehaviorSubject<Set<Search>>(new Set<Search>())
|
| state |
getstate()
|
|
Returns the current state. |