UNPKG

846 BTypeScriptView Raw
1import { PlacementArray } from '../util/positioning';
2import { Options } from '@popperjs/core';
3import * as i0 from "@angular/core";
4/**
5 * A configuration service for the [`NgbTypeahead`](#/components/typeahead/api#NgbTypeahead) component.
6 *
7 * You can inject this service, typically in your root component, and customize the values of its properties in
8 * order to provide default values for all the typeaheads used in the application.
9 */
10export declare class NgbTypeaheadConfig {
11 container: any;
12 editable: boolean;
13 focusFirst: boolean;
14 selectOnExact: boolean;
15 showHint: boolean;
16 placement: PlacementArray;
17 popperOptions: (options: Partial<Options>) => Partial<Options>;
18 static ɵfac: i0.ɵɵFactoryDeclaration<NgbTypeaheadConfig, never>;
19 static ɵprov: i0.ɵɵInjectableDeclaration<NgbTypeaheadConfig>;
20}