UNPKG

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