UNPKG

525 BTypeScriptView Raw
1import { EventEmitter } from "@angular/core";
2import { Observable } from "rxjs";
3import { CompleterBaseData } from "./completer-base-data";
4import { CompleterItem } from "../components/completer-item";
5export declare class LocalData extends CompleterBaseData {
6 dataSourceChange: EventEmitter<void>;
7 protected _data: any[];
8 protected savedTerm: string | null;
9 constructor();
10 data(data: any[] | Observable<any[]>): this;
11 search(term: string): void;
12 convertToItem(data: any): CompleterItem | null;
13}