Triggering Page loads?

(George Kushnir) #1

For some specific reasons, we need to trigger certain navigation via Javascript. Manually reloading the page obviously works, but this is inconsistent with the rest of the site with reloads parts of the page without actually fully “refreshing”.

How can I trigger navigations to different categories with Javascript? I am using there is a call to the Ember router to do so, but I can’t find good documentation on it.

(George Kushnir) #2

Well, I haven’t tracked down the event triggering the page loads, but my hacky solution was the spawn an invisible href link and then click it. I’m sure there’s a more elegant solution though.