javascript - ng-animate not triggering animations -


I have an angi-animate louid and deployed on my angular JS site (in the inspector I am angular- animate.js Folders, so I know its loading. What do I want to do, my header is animated on page load, so I've added the following to my project

template.html

  & lt; header id = "header" ng-animate = "'animate'">   

style.css

  .animate-enter {-bbkit-circle 1s linear all; / * chrome * / transition: 1s linear all; opacity: 0;}. Unregistered-enter.animate-enter-active {opacity: 1;}  

when I load from the home link and load "template.html", then there is no animation, is there something missing ??

According to Angel's documentation:

Automatically supporting animation of the animation: ngRepeat, ngInclude, NGIF, NG switches, NGShow , Ngheed, eniwyue and ng class

You need to use these instructions in your header tag.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -