Router.push([path, parameter]+) Method (JS)
Pushes a new route on the current route stack.
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.push( "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