hashBang Boolean (default: false)

Introduced in the 2014 Q1 Service Pack 1 release. If set to true, the hash based navigation will parse and prefix the fragment value with !, which should be SEO friendly, and allows non-prefixed anchor links to work as expected.


<a href="#!bar">Go to bar</a>

<a href="#bar">I am a regular bar anchor tag</a>

var router = new kendo.Router({ hashBang: true });

$(function() {

  router.route("bar", function() {
/* The result can be observed in the DevTools(F12) console of the browser. */
      console.log("navigated to bar");
In this article