UNPKG

818 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 showHint: boolean;
15 placement: PlacementArray;
16 popperOptions: (options: Partial<Options>) => Partial<Options>;
17 static ɵfac: i0.ɵɵFactoryDeclaration<NgbTypeaheadConfig, never>;
18 static ɵprov: i0.ɵɵInjectableDeclaration<NgbTypeaheadConfig>;
19}