-
Notifications
You must be signed in to change notification settings - Fork 3
performTransition
Arthur Guiot edited this page May 13, 2018
·
4 revisions
This method will help you switch between View Controllers and animate this transition using CSS.
From any class or Groups, you can perform a transition using the following code:
const P = new ProType();
... // Your code
P.performTransition(to, { // to is a String representing a View name.
animation: "none", // animation name in CSS
duration: "1s", // duration of the animation
Group: false // If you want to use a Group for performing a transition, give an Element.
}