I need to know when a tab is switched. Can I subscribe to an event and get notified?
In my usecase I need to commit pending changes before user switches tabs or at least notify the user. Just need an event or any mechanism to track, the rest is easy on my own.
Is there a way to extend this Standard Component?
I've seen there is also a
lightning:tab here https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/lightning_overview.htm but using it will kill the feature to add subcomponents via the App Builder, right?