5

I have a detail view with system created tabs (created in the page layout) and one of my tabs contains some lightning components that need variables changed when the user moves to another tab.

Currently, I have not found an API or workaround for finding out when the user changes tab to "Detail" or "Related". I have tried almost all of the lightning system events and none seem to fire for this event.

Is there a recommended way of detecting these tab changes?

0

Perhaps too late, but I have answered a similar question here.

Pasting the same response in case the link goes down:

You are out of luck (at least at the time of writing this answer). All the standard lightning components (unless documented otherwise) do not contain events/attributes you can interact with publicly, they are kind of little black boxes. So you must resort to creating a custom component to accomplish your objective.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.