I have a unique custom accordion setup where I am trying to figure out how to expand the second panel when clicking on a button within the first panel. Here is the code snippet:
<app-accordion [multi]="true">
<app-expansion-panel id="panel1" [expanded]="true">
<button (click)="continue()">Continue</button>
</app-expansion-panel>
<app-expansion-panel id="panel2">second panel</app-expansion-panel>
</app-accordion>
I am looking for a solution to achieve this functionality using Angular, specifically when clicking on the 'Continue' button. Any suggestions are appreciated.