UNPKG

799 BTypeScriptView Raw
1import { NgbConfig } from '../ngb-config';
2import * as i0 from "@angular/core";
3/**
4 * A configuration service for the [`NgbAccordionDirective`](#/components/accordion/api#NgbAccordionDirective).
5 *
6 * You can inject this service, typically in your root component, and customize its properties
7 * to provide default values for all accordions used in the application.
8 */
9export declare class NgbAccordionConfig {
10 private _ngbConfig;
11 closeOthers: boolean;
12 /**
13 * @deprecated 14.1.0
14 */
15 type: string;
16 private _animation;
17 constructor(_ngbConfig: NgbConfig);
18 get animation(): boolean;
19 set animation(animation: boolean);
20 static ɵfac: i0.ɵɵFactoryDeclaration<NgbAccordionConfig, never>;
21 static ɵprov: i0.ɵɵInjectableDeclaration<NgbAccordionConfig>;
22}