Skip to content

SimpleSearchComponent

component

Selector: yuv-simple-search

Standalone: Yes

Implements: AfterViewInit

Type: SearchQuery | null

The search query

Type: void

Emitted once the user hits clear input button

Type: SearchQuery

Type: SearchQuery

Emitted once the user submits the search

Type: (string | number)[]

Emitted once selected targets change

Type: ObjectTypeAggregation[]

Type: FormGroup

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

Type: unknown

Default Value: viewChild.required<ElementRef<HTMLInputElement>>('searchInput')

Type: unknown

Default Value: inject(TranslateService)

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