We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there not currently a way to navigate within a set of routes? For example;
var app = Davis(function () { this.get('/video/:videoID', function (req) { alert("Hello " + req.params['name']) }) }) app.start();
Then within my code, say after a video has stopped playing, I want to navigate to a new route and trigger the callback.
app.route.navigate(/video/dk59u8);
That would change the URL, update the history stack, and trigger the call back function based on the route pattern.
Is this currently possible?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there not currently a way to navigate within a set of routes? For example;
var app = Davis(function () {
this.get('/video/:videoID', function (req) {
alert("Hello " + req.params['name'])
})
})
app.start();
Then within my code, say after a video has stopped playing, I want to navigate to a new route and trigger the callback.
app.route.navigate(/video/dk59u8);
That would change the URL, update the history stack, and trigger the call back function based on the route pattern.
Is this currently possible?
The text was updated successfully, but these errors were encountered: