Skip to content

Instantly share code, notes, and snippets.

@msrivastav13
Created July 12, 2015 04:56
Show Gist options
  • Save msrivastav13/3a362a5ed97832307847 to your computer and use it in GitHub Desktop.
Save msrivastav13/3a362a5ed97832307847 to your computer and use it in GitHub Desktop.
hidenewBtn:function(component,event) {
var toggleBtn= component.find("Newbtn");
$A.util.removeClass(toggleBtn,'btn btn-primary btn-lg btn-block');
$A.util.addClass(toggleBtn,'toggle');
}
//CSS file
/*toggleCss.css*/
.THIS .toggle {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment