From 9fc5acba5e2267bea896aca0413ee371fbdd1c2a Mon Sep 17 00:00:00 2001
From: Travis CI
If you have a ref to the Navigator element, you can invoke several methods on it to trigger navigation:
getCurrentRoutes() - returns the current list of routesjumpBack() - Jump backward without unmounting the current scenejumpForward() - Jump forward to the next scene in the route stackjumpTo(route) - Transition to an existing scene without unmountingpush(route) - Navigate forward to a new scene, squashing any scenes
that you could jumpForward topop() - Transition back and unmount the current scenereplace(route) - Replace the current scene with a new routereplaceAtIndex(route, index) - Replace a scene as specified by an indexreplacePrevious(route) - Replace the previous sceneimmediatelyResetRouteStack(routeStack) - Reset every scene with an
- array of routespopToRoute(route) - Pop to a particular scene, as specified by it's
+ array of routespopToRoute(route) - Pop to a particular scene, as specified by its
route. All scenes after it will be unmountedpopToTop() - Pop to the first scene in the stack, unmounting every
other sceneOptional function that allows configuration about scene animations and gestures. Will be invoked with the route and should return a scene