@doku-dev/doku-fragment
Version:
A new Angular UI library that moving away from Bootstrap and built from scratch.
13 lines (12 loc) • 536 B
TypeScript
import { Observable } from 'rxjs';
import { DokuSelectSearchMatcherFn } from '../select.component';
import { DokuSelectOptionItemRecord } from '../select.interface';
export declare class SearchUtil {
static useSearchMatcher(items: DokuSelectOptionItemRecord[] | undefined, options: {
bindLabel: string;
search$: Observable<string>;
searchable?: boolean;
customSearchMatcherFn?: DokuSelectSearchMatcherFn;
}): Observable<DokuSelectOptionItemRecord[]>;
private static defaultSearchMatcherFn;
}