Debounced search term tracker for <input> elements
CngxSearch
DirectivePrimaryv0.1.0
projects/common/interactive/keyboard/search.directive.ts
Import#
import { CngxSearch } from '@cngx/common/interactive'
Description#
Debounced search term tracker for <input> elements.
Converts the DOM input event stream into a debounced Signal. The raw
Observable is never exposed - signal at the API boundary.
Basic usage
<input cngxSearch #search="cngxSearch" placeholder="Search..." />
<button (click)="search.clear()">Clear</button>