angularjs - How apply animation transition on ng-view -


i'm trying apply transition in ng-view angular dart.

html:

<ng-view class="main-animation"></ng-view> 

css:

.main-animation.ng-enter {     -webkit-transition: 3000ms;     -moz-transition: 3000ms;     -ms-transition: 3000ms;     -o-transition: 3000ms;     transition: 3000ms;     opacity: 0; } .main-animation.ng-enter.ng-enter-active {     opacity: 1; } 

the animation doesn't work, ng-enter , ng-enter-active class not appear, , if simulate class putting.

<ng-view class="main-animation ng-enter"><ngview>  

the content still rendering. ng-view in angular dart support animate?


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -