class') , where myCmp is the aura:id attribute value. To append and remove CSS classes from a component or element, use the $A.util.addClass(cmpTarget, 'class') ...
確定! 回上一頁