angularjs chained fade-in / fade-out transition

前端 未结 3 1537
说谎
说谎 2020-12-24 14:50

I have looked at the official show/hide transition example at the bottom of this page... http://docs.angularjs.org/api/ng.directive:ngShow

I have tried to modify it

3条回答
  •  不知归路
    2020-12-24 15:35

    You can use ng-animate in conjuction with ng-show (http://docs.angularjs.org/api/ngAnimate), available from Angular 1.1.4. Or alternatively simply apply a show class when the model is ticked and apply your show and animation to the class.

    
    

提交回复
热议问题