src/lib/services/sz-folios.service.ts
A service providing access to top level Folios for things like "Saved Searches", "Search History", "Saved Projects"
Properties |
|
Methods |
|
Accessors |
constructor(prefs: SzPrefsService, searchService: SzSearchService)
|
|||||||||
Parameters :
|
Public addToSearchHistory | ||||||
addToSearchHistory(data: SzSearchEvent)
|
||||||
add search to history stack
Parameters :
Returns :
void
|
Public searches |
Type : SzSearchParamsFolio[]
|
Default value : []
|
the collection that holds the users saved searches |
Public searchHistoryUpdated |
Type : Observable<SzSearchHistoryFolio>
|
Default value : this.search_history$.asObservable()
|
the observeable that can be listend for when the search history is updated |
Public searchService |
Type : SzSearchService
|
search_history | ||||||
getsearch_history()
|
||||||
convenience proxy getter to prefs search history location
Returns :
SzSearchHistoryFolio
|
||||||
setsearch_history(value: SzSearchHistoryFolio)
|
||||||
convenience proxy setter to prefs search history location
Parameters :
Returns :
void
|