Thank you but I’m seaching that fits well with ionic…not a generic accordion.
Sorry for my english, it is for me not clear what this really mean, because you can use ion elements for your accordion, but animation is done by css.
Additional, maybe I am wrong.
If I look to your html, then I see that you use ngif for rendering content into div. If ngif is false then there is nothing put into dom and can not be animated.
The animation for Angulars accordion and sidenav are built in the components you don’t need to add any CSS yourself, just press a button and it works like a charm.
Yes ,
but as I understood, she would not use material accordion and sidenav is not an accordion.
She would use ion-whatever and animate it, that it acts like an accordion. She can do that with css like css accordions do and alsi she must take care that there is something she can animate.
Maybe I understood wrong, in case sorry for that text.