Idea Summary
Provide a framework "event" to capture tab change, when the user changes from one tab to another when using Region Display Selector (RDS) or when using the "Tabs" region template to trigger dynamic actions.
Use Case
Sometimes you need to trigger certain events when the user changes the current tab. For instance, you can dynamically enable or disable buttons.
Many other cases could be: to clear or initialize data when changing the tab, knowing which is the current tab, etc.
Preferred Solution (Optional)
1. Provide a new framework event to capture tab changes (by clicking a certain tab).
It would require adding an identifier to the DOM for each tab (right now, APEX renders the id associated with the region but not for the tab selector, and this makes it difficult to bind an event at the tab).
2. Specify the tab region at the affected elements "Select type" to capture the event when the user switches to that region.
This implementation would enable specific events to be triggered for each tab.