SimpleSearchComponent
component
Component Metadata
Section titled “Component Metadata”Selector: yuv-simple-search
Standalone: Yes
Implements: AfterViewInit
Inputs
Section titled “Inputs”Type: SearchQuery | null
The search query
Outputs
Section titled “Outputs”clearInput
Section titled “clearInput”Type: EventEmitter
Emitted once the user hits clear input button
queryChange
Section titled “queryChange”Type: EventEmitter
querySubmit
Section titled “querySubmit”Type: EventEmitter
Emitted once the user submits the search
targetSelectionChanged
Section titled “targetSelectionChanged”Type: EventEmitter
Emitted once selected targets change
typeAggregation
Section titled “typeAggregation”Type: EventEmitter
Properties
Section titled “Properties”Type: FormGroup
Default Value: this.#fb.group(\{ term: [''], targets: [] \})
searchInput
Section titled “searchInput”Type: ElementRef<HTMLInputElement>
translate
Section titled “translate”Type: unknown
Default Value: inject(TranslateService)
Methods
Section titled “Methods”onClear
Section titled “onClear”onClear($event: Event): voidArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| $event | Event |
onSearch
Section titled “onSearch”onSearch(): void