pushStateBoolean
(default: false)
If set to true, the router will use the history pushState API.
The history
pushState
API currently has limited support across current browsers.
Example
<script>
var router = new kendo.Router({ pushState: true });
router.route("/products/:category", function(category) {
console.log("Navigated to category:", category);
});
$(function() {
router.start();
// Navigate using pushState (no hash fragment)
router.navigate("/products/electronics");
});
</script>
In this article