Builds OS specific NaitveRouter
Applies new params to the headerBar
Closes StackRouter's View if it is opened as modal.
Before and after hooks. If Hooks paramter is a function then it is used as before hook.
Go back to index
Amount of back as negative value. If stack length shorter than specified number then the active router does nothing.
Go back until the url
An url will be matched in the same stack
Go back to first page in the same stack
Go back to first page in the same stack
Returns length of the history steps to be needed to receive from current to specified url
Tests if desired url is available to go back or not
Desired url to test availability to go back
Merges specified state to current route state
Returns Route's current state
Simple Object representation of the route
String representation of the route
Returns redirection path
Builds a route's view. This method is called whenever router is routing into that path. There are some exceptions:
Not the root router, the router which the route belongs to.
view = null - If the route has been built once, the previous view (page) is given. Otherwise it is null. If view is not null, returning the view back makes it singleton.
If Route has a path or not
Checks if the specified url match to the route path
Returns route path as string
Clones route's path and returns
Return current active url
it tests that Whether router can go back as n
Amount of back as negative value return {boolean}
Adds eventlisteners to listen history changes
Adds route block handler to history. When history is changed in anywhere then the handler intercepts before history is changed.
Emits the router is deactivated.
Pushes new history entry with specified path
Path or matches of the route
Checks if the specified path is valid or not
Returns last location of history
Returns History entries as Array
Unloads the router
Returns headerBar instance
Helper method to return excat path of the component
Handles route is matched and displayed
Handles that route is removed by router
Generated using TypeDoc
Creates NavigationController and manages its behavours and routes.
1.0.0