First of all, you can use slds-hide , the SLDS built-in for hiding an element: $A.util.addClass(component.find("toggle1"), "slds-hide");.
確定! 回上一頁