ngx-bootstrap
Version:
Native Angular Bootstrap Components
42 lines • 2.41 kB
JavaScript
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { Injectable } from '@angular/core';
import * as i0 from "@angular/core";
/**
* Configuration service, provides default values for the AccordionComponent.
*/
var AccordionConfig = /** @class */ (function () {
function AccordionConfig() {
/**
* Whether the other panels should be closed when a panel is opened
*/
this.closeOthers = false;
/**
* turn on/off animation
*/
this.isAnimated = false;
}
AccordionConfig.decorators = [
{ type: Injectable, args: [{
providedIn: 'root'
},] }
];
/** @nocollapse */ AccordionConfig.ɵprov = i0.ɵɵdefineInjectable({ factory: function AccordionConfig_Factory() { return new AccordionConfig(); }, token: AccordionConfig, providedIn: "root" });
return AccordionConfig;
}());
export { AccordionConfig };
if (false) {
/**
* Whether the other panels should be closed when a panel is opened
* @type {?}
*/
AccordionConfig.prototype.closeOthers;
/**
* turn on/off animation
* @type {?}
*/
AccordionConfig.prototype.isAnimated;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLmNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1ib290c3RyYXAvYWNjb3JkaW9uLyIsInNvdXJjZXMiOlsiYWNjb3JkaW9uLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7QUFLM0M7SUFBQTs7OztRQUtFLGdCQUFXLEdBQVksS0FBSyxDQUFDOzs7O1FBRTdCLGVBQVUsR0FBWSxLQUFLLENBQUM7S0FDN0I7O2dCQVJBLFVBQVUsU0FBQztvQkFDVixVQUFVLEVBQUUsTUFBTTtpQkFDbkI7OzswQkFQRDtDQWFDLEFBUkQsSUFRQztTQUxZLGVBQWU7Ozs7OztJQUUxQixzQ0FBN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