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.

Example

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

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

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

$(function() {
  router.start();

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