Private
debugPrivate
Optional
defaultPrivate
loadedPrivate
paramsPrivate
routesPrivate
suspendAdd a route
The first matching route will be executed
eg. /^notes/(.*)$/
Optional
handler: RouterMethodIs called with the arguments matched in the route regexp. May return Promise so the router start() promise will resolve when this promise is resolved.
go.Router.add(/^([a-zA-Z0-9]*)/([\d]*)$/, (entity:string, id:string) => {
});
Fire an event
When a listener returns false this function will return false too.
Rest
...args: Parameters<RouterEventMap<any>[K]>Private
handleAdd a listener
Optional
options: ObservableListenerOptsProtected
onProtected
relayRemove listener
Generated using TypeDoc
Router class
See
router