angularjs - ng-animate animation direction -


I am trying to work on some simple ng behavior, but a wall is dead and what can not work I am doing wrong.

My code contains an angular ui-view with a square that determines direction from the UI view - either to the left hand side or to the right hand side of the screen < / P>

You can see what I am doing here - pay attention to the direction of link arrows;

P> UI is visual code;

& lt; Div ui-view class = "{{thatWayToMove}}" & gt; & Lt; / Div & gt;

Replace with some routes When the event listeners should know that the appropriate CSS should change the direction of where UI ideas come from.

I think the problem is a scoping, but some external help would be appreciated.

See me sometimes ui- slide incorrectly My problem It was that the class was part of UI-Viz, but the U-view is duplicated to be able to slide one view into one view. During this duplication, a scene was found in the old class and the second view got new, updated class like this:

  & lt; Div ui-view = "" class = "slide_from_left_to_right ng-amim ng-enter ng-ant-active" & gt; & Lt; / Div & gt; & Lt; Div ui-view = "" class = "slide_from_right_to_left ng-atimet ng-nt ng-leave-active" & gt; & Lt; / Div & gt;  

This corrupts the animation by class = "{{thatWayToMove}}" in the original div and prevents it Makes CSS more logical. .slide_from_right_to_left will be the parental class for the RTL position under which all the animations are present for both ideas, you can see what I mean.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -