My question could be a little strength since I haven't found any other case 
like that.

I want to perform views animations, but not always. So far, I had the 
animation in the .css format: 

    .view.ng-enter{
        animation: view_enter @anim-view-dur;
    }
    
    .view.ng-leave{
        animation: view_leave @anim-view-dur;
    }

So when I go from one page to another, it is performed.

The exactly case when I don't want the animation view to be applied is in a 
page where I have an ScrollSpy Bootstrap sidebar working. Since it's within 
a view, I had to do the anchor links with a function:

    $scope.scrollTo= function (id){ 
            $location.hash(id);
            $anchorScroll();
        };

And when this function is called, it's trigger the view animation. Is there 
any way to prevent from trigger the view animation in this case?

Thank you very much.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to