You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To transition to a state (this ex assumes your controller is a singleton):
(new MyController()).transition("results");
To get the current state:
controller.currentState
To call a function or get a property from the current state:
controller.handle("funcName|propertyName")
The parent controller is passed as the first argument of a state's onEnter, constructor, and onExit methods. To call a function on the state's parent controller: