Saturday, 20 May 2017

javascript - How to change two font awesome (CSS) classes dynamically using angularJS?

I have used font awesome CSS on a dropdown button to show plus and minus icon, I wanted to change the CSS from plus to minus when the dropdown is expanded and vice versa.



 {{expression}}



Need to change the fa fa-plus-circle class to fa fa-minus-circle class when dropdown expanded and vice versa.

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...