Subscribe to Aura Application Events in LWC
Subscribe to Aura application events using their corresponding Lightning message channels.
Aura application events are received by all rendered Aura components, even those on background tabs. By default, the Lightning message channel events are received by active components only, such as those on the foreground tab or in activated utility bar components. Your component can receive all Lightning message channel events by subscribing with the optional APPLICATION_SCOPE parameter. For more information, see Define the Scope of the Message Service.
-
A Lightning message channel that corresponds to the
lightning:tabClosedAura app event. -
A Lightning message channel that corresponds to the
lightning:tabCreatedAura app event. This message channel is available for Lightning web components used within a Lightning console app. -
A Lightning message channel that corresponds to the
lightning:tabFocusedAura app event. This message channel is available for Lightning web components used within a Lightning console app. -
A Lightning message channel that corresponds to the
lightning:tabRefreshedAura app event. This message channel is available for Lightning web components used within a Lightning console app. -
A Lightning message channel that corresponds to the
lightning:tabReplacedAura app event. This message channel is available for Lightning web components used within a Lightning console app. -
A Lightning message channel that corresponds to the
lightning:tabUpdatedAura app event. This message channel is available for Lightning web components used within a Lightning console app.