From 68bf4ff3794c0a0d351f2fb0bde9713e89950724 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
+ 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 sceneresetTo(route) - Navigate to a new scene and reset route stackimmediatelyResetRouteStack(routeStack) - Reset every scene with an
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