I want to make a menu using the Accordion component.
I don't want all the elements in the Accordion to have children, or in other words, some headers open submenus others are themselves the button.
How can I stop the opening of the accordion when clicking on a specific header?
Extending the Class is a way.
But what I really need is for those that are not extendible to fire an event so I know which was clicked and act accordingly.