How to close all the menus inside an Accordion in Angular 4
问题 I am new to angular 4 here I have an accordion in the structure of Category,Group and Subgroup. If I clicked on category it shows all the groups in it and if I clicked on the groups it shows all the subgroups . Now everything is working fine . What I want to do is If I clicked on the Category again I want to close the accordion with all the groups which are opened before. In my case if I opened some groups and closed the accordion then If I opened again it shows the groups opened which I have