Hash Router service
Kind: global class
All registered routes
Kind: instance property of HashRouterService
Emits an event
Kind: instance property of HashRouterService
Param | Description |
---|---|
url | the hash url you want to navigate like |
Example
HashRouter.navigate(`/products/12/22/bobby/123/random`);
Go back in time
Kind: instance property of HashRouterService
Register route
Kind: instance property of HashRouterService
Param | Description |
---|---|
url | with majic variables like :NameOfVariable for a string OR #nameOfNumberVariable for number |
handler | to be called back with route data |
Unregister a route
Kind: instance property of HashRouterService
Param | Description |
---|---|
url | you passed when creating the route |