angularjs - Angular animate not working with swappable divs -



angularjs - Angular animate not working with swappable divs -

i'm trying create animated transitions when swapping 2 divs using ng-show , ng-hide on both. code:

<div ng-show="logintoggler === 'register'"> register </div> <div ng-show="logintoggler === 'login'"> login </div>

my css partial animating :

.ng-hide-add { animation:0.5s lightspeedout ease; } .ng-hide-remove { animation:0.5s lightspeedin ease; }

animations working when first div appearing/disappearing. none of suitable transition effects apply on sec div (it works same way when swap divs position in code - 1 before in code has transition effects applied).

angularjs web jquery-animate transition

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -