UNPKG

ng2-accordions

Version:

Accordions component with animations for Angular 2 app (bootstrap3)

38 lines 1.16 kB
import { __decorate, __metadata } from "tslib"; import { Component, Input, Output, EventEmitter } from '@angular/core'; let AccordionGroupCmp = class AccordionGroupCmp { constructor() { this.arrowClick = new EventEmitter(); this.heading = ''; this.isExpanded = true; } open() { this.arrowClick.next(true); } close() { this.arrowClick.next(false); } ngOnInit() { } }; __decorate([ Output(), __metadata("design:type", Object) ], AccordionGroupCmp.prototype, "arrowClick", void 0); __decorate([ Input(), __metadata("design:type", String) ], AccordionGroupCmp.prototype, "heading", void 0); __decorate([ Input(), __metadata("design:type", Boolean) ], AccordionGroupCmp.prototype, "isExpanded", void 0); AccordionGroupCmp = __decorate([ Component({ selector: 'ecrm-accordion-group', template: require('./accordion-group.component.html'), styles: [require('./accordion-group.component.scss')] }), __metadata("design:paramtypes", []) ], AccordionGroupCmp); export { AccordionGroupCmp }; //# sourceMappingURL=accordion-group.component.js.map