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

Can I change the URL without triggering the event?

$
0
0
Consider following code:
  1. can.route.attr({'id': entry.id });
How could I change the url route (hashtag) without triggering the url route handler like this

  1. can.Control({
  2.     ':id route': function() {
  3.         // Route handler
  4.     }
  5. })

Viewing all articles
Browse latest Browse all 3491

Trending Articles