lightning:tabClosed
Indicates that a tab has been closed.
| Name | Type | Description |
|---|---|---|
tabId | string | The ID of the closed tab. |
This example prints a line to the browser’s developer console when a tab is closed.
Component code:
Controller code:
Indicates that a tab has been closed.
| Name | Type | Description |
|---|---|---|
tabId | string | The ID of the closed tab. |
This example prints a line to the browser’s developer console when a tab is closed.
Component code:
Controller code: