Tag Archives: Add/remove style

How to Add or Remove CSS style from the component/element during runtime or dynamically

In this blog, we will discuss how to Add and Remove CSS style from the component or element during runtime. To add and remove CSS style from the component or element, you need to use $A.util.addClass(object element ,string class) and $A.util.removeClass(object element, string class) methods, where “element” is the component to add and remove the… Read More »