lightning:tabClosed
Fires when a Console workspace or subtab has been successfully closed.
For Use In
Lightning Experience
::::::tabset{tabs='[ "Develop", "Specifications"]'}
:::::tab
lightning:tabClosed is an application event that indicates a tab has been closed successfully. This event is supported in Lightning console apps only.
Handle the event using aura:handler.
<aura:component implements="flexipage:availableForAllPageTypes" access="global">
<lightning:workspaceAPI aura:id="workspace" />
<aura:handler event="lightning:tabClosed" action="{! c.onTabClosed }" />
</aura:component>
For more information, see the Salesforce Console Developer Guide.
:::::
:::::tab
Attributes
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
tabId |
The closed tab ID. | string | ![]() |
:::::
::::::
