I created a library with a custom accordion in angular with bind event for auto close when other panel is clicked in "Toggle", my problem is that I need the first panel open at start by default.
here is a stackblitz with the code:
https://stackblitz.com/edit/angular-ivy-dbztkc?file=src/app/app.module.ts
I tried to bind other event but I can´t figure how bind that event to my previous one without breaking things, try a custom directive, and some commands on init, nothing works
thank you for your help in advance.
>Solution :
Just add a initial value to activeTitle
activeTitle: string = 'Documento 1';
