FindRouter Class
Finds a router from the current location.
This can be used to get access to a router in JavaScript. This assume that a Router has been declared somewhere higher in the UX tree (it need not be in the same file).
<Page>
<JavaScript dep:router="findRouter()">
exports.go = function() {
router.goto( "anotherPageName" )
}
</JavaScript>
<Button Alignment="Center" Clicked="{go}"/>
</Page>
Location
- Namespace
- Fuse.Navigation
- Package
- Fuse.Navigation 2.9.1
Interface of FindRouter
Inherited from Expression
SourceFileName : string ux
hide
SourceLineNumber : int ux
hide
Subscribe(IContext, IListener) : IDisposable uno
See IExpression.Subscribe
for docs.
Inherited from object
Equals(object) : bool uno
GetHashCode : int uno
GetType : Type uno
ToString : string uno
Attached UX Attributes
GlobalKey (attached by Resource) : string ux
Implemented Interfaces
IExpression uno
ISourceLocation uno
hide