Router.gotoRelative(node, [path, parameter]+) Method (JS)
Goto a new relative route.
This specifies a path relative to the node
outlet:
the Navigator or PageControl at, or up from, node
.
The path fragment starting at that outlet will be replaced with the new path.
A goto
is done on this resulting path.
<Router ux:Name="router"/>
<Navigator>
<Navigator ux:Template="one" ux:Name="inner">
<Panel ux:Template="a"/>
<Panel ux:Template="b"/>
If the current route is one/a
a call to gotoRelative( inner, "b" )
will go to the route one/b
.
The relative path replaces the path starting at inner
.
Location
- Namespace
- Fuse.Navigation
- Package
- Fuse.Navigation 2.9.1