UNPKG

709 BTypeScriptView Raw
1import { NgbConfig } from '../ngb-config';
2/**
3 * A configuration service for the [`NgbNav`](#/components/nav/api#NgbNav) component.
4 *
5 * You can inject this service, typically in your root component, and customize the values of its properties in
6 * order to provide default values for all the navs used in the application.
7 *
8 * @since 5.2.0
9 */
10export declare class NgbNavConfig {
11 private _ngbConfig;
12 destroyOnHide: boolean;
13 orientation: 'horizontal' | 'vertical';
14 roles: 'tablist' | false;
15 keyboard: boolean | 'changeWithArrows';
16 private _animation;
17 constructor(_ngbConfig: NgbConfig);
18 get animation(): boolean;
19 set animation(animation: boolean);
20}