Access Element, Class in Directive


#1

Hai All

I need to know how to add or remove class, Add the animation in directive ?

Please give sample or sample refer URL ?


#2

For classes, use ngClass. Not sure what you mean by “add the animation”.


#3

I created the menu using Directive but i need to add the animation for menu. How?