Answers for "how to set a tab from controller in lightning com"

0

how to set a tab from controller in lightning com

var selected = component.get("v.key"); //key used for storing tab ids.
component.find("tabs").set("v.selectedTabId",selected);
Posted by: Guest on April-23-2020

Code answers related to "how to set a tab from controller in lightning com"

Browse Popular Code Answers by Language