src/app/components/search-provider/search-provider.component.ts
SearchProvider component
selector | app-search-provider |
styleUrls | ./search-provider.component.scss |
templateUrl | ./search-provider.component.html |
Properties |
|
Methods |
|
Inputs |
Accessors |
constructor(portfolioService: PortfolioService, engine: EngineService, inputService: InputService, uiService: UiService, persistenceService: PersistenceService)
|
||||||||||||||||||||||||
Constructs the SearchProvider component.
Parameters :
|
InstantSearch |
Type : boolean
|
Instant search toggle setter. |
position |
Type : any
|
Instance identification position. |
SearchToken |
Type : string
|
Search token setter delegate. |
Public clearSearch |
clearSearch()
|
Clear search-provider field.
Returns :
void
|
Public keypress | ||||||
keypress(event: KeyboardEvent)
|
||||||
Simulate keyboard clicks delegate.
Parameters :
Returns :
void
|
Public label | ||||||
label(key: string)
|
||||||
Label delegate.
Parameters :
Returns :
string
|
Public startAllOver |
startAllOver()
|
Clear toggle state and any future view state and start all over.
Returns :
void
|
Public Readonly persistenceService |
Type : PersistenceService
|
The persistence service injected dependency.
|
Public Readonly portfolioService |
Type : PortfolioService
|
The portfolio service injected dependency.
|
Public searchTokenChanged$ |
Type : Subject<string>
|
Default value : new Subject<string>()
|
SearchProvider token changed event. |
Public Readonly uiService |
Type : UiService
|
The ui service injected dependency.
|
ToggleKind |
getToggleKind()
|
Toggle kind enum template accessor getter. |
ui |
getui()
|
UI delegate. |
decorations |
getdecorations()
|
Decorations delegate. |
InstantSearch | ||||
getInstantSearch()
|
||||
Instant search toggle getter. |
||||
setInstantSearch(value)
|
||||
Instant search toggle setter.
Parameters :
Returns :
void
|
SearchToken | ||||||
getSearchToken()
|
||||||
Search token getter delegate.
Returns :
string
|
||||||
setSearchToken(value: string)
|
||||||
Search token setter delegate.
Parameters :
Returns :
void
|
./search-provider.component.scss
@use "../stylesheets/stylesheets.component.scss";