UNPKG

ngx-bootstrap

Version:
50 lines (49 loc) 2.05 kB
/** * @fileoverview added by tsickle * @suppress {checkTypes} checked by tsc */ import { Injectable } from '@angular/core'; export class AlertConfig { constructor() { /** * default alert type */ this.type = 'warning'; /** * is alerts are dismissible by default */ this.dismissible = false; /** * default time before alert will dismiss */ this.dismissOnTimeout = undefined; } } AlertConfig.decorators = [ { type: Injectable } ]; function AlertConfig_tsickle_Closure_declarations() { /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ AlertConfig.decorators; /** * @nocollapse * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>)})>} */ AlertConfig.ctorParameters; /** * default alert type * @type {?} */ AlertConfig.prototype.type; /** * is alerts are dismissible by default * @type {?} */ AlertConfig.prototype.dismissible; /** * default time before alert will dismiss * @type {?} */ AlertConfig.prototype.dismissOnTimeout; } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29uZmlnLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWJvb3RzdHJhcC9hbGVydC8iLCJzb3VyY2VzIjpbImFsZXJ0LmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUczQyxNQUFNOzs7OztvQkFFRyxTQUFTOzs7OzJCQUdGLEtBQUs7Ozs7Z0NBR1MsU0FBUzs7OztZQVR0QyxVQUFVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgQWxlcnRDb25maWcge1xuICAvKiogZGVmYXVsdCBhbGVydCB0eXBlICovXG4gIHR5cGUgPSAnd2FybmluZyc7XG5cbiAgLyoqIGlzIGFsZXJ0cyBhcmUgZGlzbWlzc2libGUgYnkgZGVmYXVsdCAqL1xuICBkaXNtaXNzaWJsZSA9IGZhbHNlO1xuXG4gIC8qKiBkZWZhdWx0IHRpbWUgYmVmb3JlIGFsZXJ0IHdpbGwgZGlzbWlzcyAqL1xuICBkaXNtaXNzT25UaW1lb3V0PzogbnVtYmVyID0gdW5kZWZpbmVkO1xufVxuIl19