File

core/search/search.service.ts

Description

A service which defines the dearch function.

Index

Properties
Methods
Accessors

Constructor

constructor(injector: Injector, router: Router)
Parameters :
Name Type Optional
injector Injector No
router Router No

Methods

add
add(item: Search)

Adds a new item to the search in the header.

Parameters :
Name Type Optional Description
item Search No

The item to add.

Returns : void
refresh
refresh()

Refresh the extension factories

Returns : void
remove
remove(item: Search)

Removes an search from the header.

Parameters :
Name Type Optional Description
item Search No

The item to remove.

Returns : void

Properties

items$
items$: Observable<Search[]>
Type : Observable<Search[]>
Readonly refreshTrigger
refreshTrigger:
Default value : new Subject()
Protected state$
state$:
Default value : new BehaviorSubject<Set<Search>>(new Set<Search>())

Accessors

state
getstate()

Returns the current state.

result-matching ""

    No results matching ""