How can I create simple accordion with Angular 2?
try this solution, this is very simple accordion: app/accordion.component.ts app/accordion-group.component.ts app/app.component.ts app/posts.service.ts Online demo: https://plnkr.co/edit/xFBllK?p=preview Document: EventEmitter @ContentChildren QueryList