Router.getRoute return the entire route.

When requesting the current route, calling the return function it should bring the history with the entire route.
Example: I am in “Page1”, and used the function router.push("Page2") when requesting the current route, it should include the history, knowing all the way the route will do.

router.getRoute(function(route){
  console.log(JSON.stringify(route))
});