Note that there are some explanatory texts on larger screens.

plurals
  1. POAnimation in ListViews
    primarykey
    data
    text
    <p>I am designing an app which has a page that has tow list views. Lets call them "MainListView" and "SecondaryListView". the two list views are placed side by side ("MainListView" is on left and "SecondaryListView" is on right). The data in these two lists is a parent child data from a Web API.</p> <p>Scenario 1:</p> <p>The flow is like below:</p> <ol> <li>When page is initialized initial parent data is present in "SecondaryListView" (level 1 data). </li> </ol> <p>2.User clicks one item in the "SecondaryListView". The Data clicked is moved to "MainListView" and the "SecondaryListView" now gets updated by the child o selected item.</p> <ol> <li>This sequence goes on till the last child is reached.</li> </ol> <p>Scenario 2:</p> <p>Lets say the user has gone to 5th level. The 1st, 2nd, 3rd, 4th, 5th level selected data is there in "MainListView" and "SecondaryListView" has the childrens of 5th selected data.</p> <ol> <li><p>Now users selects the 2nd level selected data in "MainListView".</p></li> <li><p>The 3rd, 4th, 5th level data gets deleted from "MainListView" and the "SecondaryListView" gets filled with children of 2nd level.</p></li> </ol> <p>My requirement is that I need to add some animation. Here is the animation that is desired:</p> <ol> <li><p>In Scenario 1 when user selects one item from "SecondaryListView" the item to slide towards the "MainListView" and get added at bottom of the list. Currently it is just getting added. There is no slide animation.</p></li> <li><p>In Scenario 2 when user selects one item from "MainListView", the other elements that gets deleted (in example 3rd, 4th, 5th) should slide down the list and disappear. Currently the sliding and deletion animation is not getting achieved.</p></li> </ol> <p>Both my list use binding for data and use template. The functionality is fully working baring the animation that is desired. Currently if I change the binding data the functionality works but the animation is something I am not able to get it working.</p> <p>Any suggestions would be helpful.</p> <ul> <li>Girija</li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload