Currently exploring Angular development, I have encountered a question here but couldn't find the solution I was looking for. I am seeking suggestions and ideas on how to approach this issue.
Essentially, my HTML includes buttons like the ones shown below:
https://i.sstatic.net/g751b.png
Now, when a user clicks one of these buttons, I want it to display a list, similar to the image below:
https://i.sstatic.net/2CwlH.png
I have taken inspiration from examples on https://material.angular.io/components/categories
I have managed to code the buttons, but I am struggling to implement the logic for expanding the view and displaying the list when a button is clicked. Any help would be greatly appreciated.