Can i go to an external link on a button click in ember

is it possible to call an action on a button click which navigates the user to an external link (like 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“”);