$A.util.toggleClass(toggleText, "toggle"); code example Example: toggle class <div class="tumble">Some text.</div>