var vs = new ViewStack()
vs.addChild(child1)
vs.addChild(child2);
vs.selectedIndex = 0;
triggers the slide animation. The default slideIndex should be the top one, but if the selectedIndex is set immediately, that view should immediately appear and not slide in.
Example:
var vs = new ViewStack() vs.addChild(child1) vs.addChild(child2); vs.selectedIndex = 0;
triggers the slide animation. The default slideIndex should be the top one, but if the selectedIndex is set immediately, that view should immediately appear and not slide in.