我正在尝试使用有角度的飞镖在ng-view
中应用转换。
HTML:
<ng-view class="main-animation"></ng-view>
CSS:
.main-animation.ng-enter {
-webkit-transition: all 3000ms;
-moz-transition: all 3000ms;
-ms-transition: all 3000ms;
-o-transition: all 3000ms;
transition: all 3000ms;
opacity: 0;
}
.main-animation.ng-enter.ng-enter-active {
opacity: 1;
}
动画不起作用,ng-enter
和ng-enter-active
类没有出现,即使我模拟了放置的类。
<ng-view class="main-animation ng-enter"><ngview>
内容仍在渲染中。角镖中的ng-view
是否支持动画?