lightning:tabRefreshed

Indicates that a tab has been refreshed.

NameTypeDescription
tabIdstringThe ID of the refreshed tab.

This example prints a line to the browser’s developer console when a tab is refreshed, and then returns that tab’s tabInfo object using the getTabInfo() method.

Component code:

Controller code: