Newer Version Available

This content describes an older version of this product. View Latest

lightning:tabReplaced

Indicates that a tab has been replaced successfully.

Response

Name Type Description
tabId string The ID of the replaced tab.

Example

This example prints a line to the browser’s developer console when a tab is replaced, and then returns that tab’s URL using the getTabURL() method.

Component code:

Controller code: