UNPKG

701 BJavaScriptView Raw
1import { Injectable } from '@angular/core';
2import * as i0 from "@angular/core";
3export class AlertConfig {
4 constructor() {
5 /** default alert type */
6 this.type = 'warning';
7 /** is alerts are dismissible by default */
8 this.dismissible = false;
9 /** default time before alert will dismiss */
10 this.dismissOnTimeout = undefined;
11 }
12}
13AlertConfig.ɵprov = i0.ɵɵdefineInjectable({ factory: function AlertConfig_Factory() { return new AlertConfig(); }, token: AlertConfig, providedIn: "root" });
14AlertConfig.decorators = [
15 { type: Injectable, args: [{
16 providedIn: 'root'
17 },] }
18];
19//# sourceMappingURL=alert.config.js.map
\No newline at end of file