Skip to content

SimpleSearchComponent

component

Selector: yuv-simple-search

Standalone: Yes

Implements: AfterViewInit

Type: SearchQuery | null

The search query

Type: EventEmitter

Emitted once the user hits clear input button

Type: EventEmitter

Type: EventEmitter

Emitted once the user submits the search

Type: EventEmitter

Emitted once selected targets change

Type: EventEmitter

Type: FormGroup

Default Value: this.#fb.group(\{ term: [''], targets: [] \})

Type: ElementRef<HTMLInputElement>

Type: unknown

Default Value: inject(TranslateService)

onClear($event: Event): void
NameTypeDescription
$eventEvent
onSearch(): void