Hey all quick question. How do you open up an external URL on a click, in a new window / tab? This doesn't seem to be doing the trick:
layerA.onClick (event, layer) -> window.open("http://framer.com/","_blank")
Thanks in advance.
Nvm works just find. Just had to open in browser. Makes sense :)
You can always use:"<a href='http://example.com' target='_blank'>Open</a>"but not programmatically from within Framer Studio - I think this is a bug or oversight in Framer Studio and would be great if 'window.open()' worked there as well.