Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : how to use replaceState for route?

$
0
0
I believe I've found what I needed:

  1.      can.route.bindings.hashchange.setURL= function( path ) {
  2.          location.replace('#!' + path);
  3.          return path;
  4.      };
does what I want.

Viewing all articles
Browse latest Browse all 3491

Trending Articles