UNPKG

ng2-encrm-components

Version:
40 lines 1.43 kB
"use strict"; var core_1 = require('@angular/core'); var AccordionGroupCmp = (function () { function AccordionGroupCmp() { this.arrowClick = new core_1.EventEmitter(); this.heading = ''; this.isExpanded = true; } AccordionGroupCmp.prototype.ngOnInit = function () { }; AccordionGroupCmp.prototype.open = function () { this.arrowClick.emit(true); }; AccordionGroupCmp.prototype.close = function () { this.arrowClick.emit(false); }; __decorate([ core_1.Output(), __metadata('design:type', Object) ], AccordionGroupCmp.prototype, "arrowClick", void 0); __decorate([ core_1.Input(), __metadata('design:type', String) ], AccordionGroupCmp.prototype, "heading", void 0); __decorate([ core_1.Input(), __metadata('design:type', Boolean) ], AccordionGroupCmp.prototype, "isExpanded", void 0); AccordionGroupCmp = __decorate([ core_1.Component({ selector: 'en-accordion-group', template: require('./accordion-group.component.html'), styles: [require('./accordion-group.component.scss')], }), __metadata('design:paramtypes', []) ], AccordionGroupCmp); return AccordionGroupCmp; }()); exports.AccordionGroupCmp = AccordionGroupCmp; //# sourceMappingURL=accordion-group.component.js.map