Navigates to the given route.

Parameters

route String

The route to navigate to.

silent Boolean (default: false)

If set to true, the router callbacks will not be called.

Example

<a id="link" href="#">Click me</a>

<script>
var router = new kendo.Router();

router.route("/items/:category/:id", function(category, id) {
/* The result can be observed in the DevTools(F12) console of the browser. */
  console.log(category, "item with", id, " was requested");
});

$(function() {
  router.start();
  $("#link").click(function() {
    router.navigate("/items/books/59");
    return false;
  });
});
</script>
In this article