Using the Tab example:
I would like to make the button keep a particular state when it is selected and toggle off the previously selected tab. For instance,
1. given Tab1 and Tab2.
2. user clicks on one Tab1, Tab1 displays tabOn state and disabled.
3. user clicks on Tab2, Tab2 displays tabOn state and disabled. Tab1 changes to tabOff state and becomes enabled.
Is there an example of how to do this.
Cheers