Search

General purpose search with optional rich results rendered from item templates

Contents

No inputs set

By default, the search component emits any updates to the search query immediately.

In some cases, you may want to debounce the query emission. For example, if the search triggers an API call.

Emitted search query:

Inputs in With debounce time
debounceTimeMs ?: number

Debounces the emission of the search query after the specified number of milliseconds.

Outputs
clear ?: any = new EventEmitter<void>()
expandedChange ?: any = new EventEmitter<boolean>()

Exposes the expanded/collapsed status of the expandable search bar.

onBlur ?: any = new EventEmitter<void>()
onFocus ?: any = new EventEmitter<void>()
overlayClose ?: any = new EventEmitter<void>()
query ?: any = new EventEmitter<string>()
select ?: any = new EventEmitter<SearchItem>()
submit ?: any = new EventEmitter<void>()