Let say if I require to show only a single button as active/highlighted among 6 buttons that we may click, and the remaining 5 buttons should be shown as inactive unless I click on that inactive button.
As of now, I am using six boolean attributes/enumeration to achieve this requirement by changing their values.
This is something that I personally felt, might be very useful because more or less we use similar kinds of requirements most of the time , so this will be very useful for n number of buttons without any JS.