UNPKG

988 BTypeScriptView Raw
1import * as i0 from "@angular/core";
2/** Default values provider for typeahead */
3export declare class TypeaheadConfig {
4 /** sets use adaptive position */
5 adaptivePosition: boolean;
6 /** turn on/off animation */
7 isAnimated: boolean;
8 /** used to hide results on blur */
9 hideResultsOnBlur: boolean;
10 /** if true, typeahead will cancel async request on blur */
11 cancelRequestOnFocusLost: boolean;
12 /** used to choose the first item in typeahead container */
13 selectFirstItem: boolean;
14 /** used to active/inactive the first item in typeahead container */
15 isFirstItemActive: boolean;
16 /** used to choose set minimal no of characters that needs to
17 * be entered before typeahead kicks-in
18 */
19 minLength: number;
20 /**
21 * used to choose item on blur event
22 */
23 selectItemOnBlur: boolean;
24 static ɵfac: i0.ɵɵFactoryDeclaration<TypeaheadConfig, never>;
25 static ɵprov: i0.ɵɵInjectableDeclaration<TypeaheadConfig>;
26}