Router.goto([path, parameter]+) Method (JS)
Goto a new route. This clears the history.
The parameters form a repeating set of pairs. The path
is the name of the page or template
to use. parameter
is the dynamic property to assign to the path; it may be null
if not relevant
at this level.
router.goto( "home", null, "contact", null, "view", { id: "john" } )
This specifies a three-level path. The first two levels, home
and contact
do not have any property.
The third level view
specifies the id
of the user that will be viewed.
Location
- Namespace
- Fuse.Navigation
- Package
- Fuse.Navigation 2.9.1