angular.js - angular-animation and causing afterimage when switching with ng-switch
伊谢尔伦
伊谢尔伦 2017-05-15 17:01:20
0
1
620

When developing a seat selection command, because we need to switch between three states, we used the ng-switch
command template

<span class="myCheck" ng-click="toggleIcon()" ng-switch="myCheck">
    <i ng-switch-when="2" class="icon-stop text-red"></i><!--以被选择-->
    <i ng-switch-when="1" class="icon-stop text-green"></i><!--选择-->
    <i ng-switch-when="0" class="icon-null"></i><!--未选择-->
</span>

After adding angular-animation to the project, afterimages will appear when switching the seat selection state

Have any students encountered this pitfall and ask for a solution?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
巴扎黑

. . . The problem of afterimages is caused by ng-animation. . .

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template