6

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?

1 Answer 1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .