I want to close the nested panels with clicking the other outer panel. The solution I tried is: given an id: #child1 and tried to trigger it using click event on header/panel of outer (click)="child1._toggle()" But, it didn't worked. Any Suggestions?
Here is the link to the problem.