Edit this page

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() {
      console.log("navigated to bar");
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article