Edit this page

routeMissing

Triggered when the URL does not match any of the provided routes.

Example

<script>
var router = new kendo.Router({ routeMissing: function(e) { console.log(e.url, e.params) } });

$(function() {
    router.start();
    router.navigate("/foo?bar=baz");
});
</script>

Event Data

e.url String

The fragment part of the URL

e.params Object

The parsed query string parameters of the URL

Calling the preventDefault method of the event object will stop the change and restore the previous URL.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy