File

src/lib/services/sz-folios.service.ts

Description

A service providing access to top level Folios for things like "Saved Searches", "Search History", "Saved Projects"

Index

Properties
Methods
Accessors

Constructor

constructor(prefs: SzPrefsService, searchService: SzSearchService)
Parameters :
Name Type Optional
prefs SzPrefsService No
searchService SzSearchService No

Methods

Public addToSearchHistory
addToSearchHistory(data: SzSearchEvent)

add search to history stack

Parameters :
Name Type Optional
data SzSearchEvent No
Returns : void

Properties

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

Accessors

search_history
getsearch_history()

convenience proxy getter to prefs search history location

setsearch_history(value: SzSearchHistoryFolio)

convenience proxy setter to prefs search history location

Parameters :
Name Type Optional
value SzSearchHistoryFolio No
Returns : void

results matching ""

    No results matching ""