is it possible to call an action on a button click which navigates the user to an external link (like bbc.com for example). I thought the transitionTo will only know the routes declared in router.js
You have access to the window object.
can you please give an example, sorry i haven’t seen an example calling plain javascript code from with in ember actions etc
1 Like
got it. thanks Just did window.open(“google.ca”);