angularjs - ngEnter(ngAnimate) class not getting added in ngDialog -
i don't know if there bug in ngdialog side or there missing not able see ngenter/ngleave
class getting added.
my ngdialog
rough html template :
<div class ="ng-dialogbg" ng-swipe-right="swiperight()" ng-swipe-left="swipeleft()"> <div ng-show="currentid==2" class="canvas-holder" id={{currentid}}> <avatarcanvas> </avatarcanvas> </div> <div ng-show="currentid==3" class="canvas-holder" id={{currentid}}> <avatarcanvas> </avatarcanvas> </div> </div>
css :
.canvas-holder.ng-enter{ background-color:blue; } .canvas-holder .ng-leave{ background-color:black; }
so testing have used simpler form of code, , don't see ngenter class being added. swipe action changes respective currentid
in controller particular div.
ps : have used ngswipe, nganimate in project, modules have been added properly. on ngdialog part or missing someting?
Comments
Post a Comment