Motivation behind the feature and what it will do
There should be a way for the the tab group to emit which tab was clicked, so that we could use it to add query parameters or store information in local storage for better page persistence.
Which part of the application will this feature be for?
Component library
Minimal Viable Product
- Add an event emitter that a component that a component using a tab group can use
- When a tab is clicked, the tab group will emit information about the tab component
Code changes
Changes to the tab group/tab component
Additional context
- We can use either a Signal or an Observable to handle this, but, as a rule of thumb, we prefer Signals unless we absolutely need Observables
Motivation behind the feature and what it will do
There should be a way for the the tab group to emit which tab was clicked, so that we could use it to add query parameters or store information in local storage for better page persistence.
Which part of the application will this feature be for?
Component library
Minimal Viable Product
Code changes
Changes to the tab group/tab component
Additional context