This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Elliott Malkin
Posted May 01 - Read on Facebook

Simple question. If I resize the Framer window, why would this event not be triggered?


Marc Krenn

window.onresize = ->
_____print "#{Screen.width}/#{Screen.height}" # if your preview is set to fullscreen


window.onresize = ->
_____print "#{document.width}/#{document.height}"

Marc Krenn

For future reference:

'Canvas.onResize ->' fires when the window is resized.

Jordan Robert Dobson

Add that tip to FramerCode Marc ;)

Koen Bok

I'll add change:size and change:frame here. That makes a lot of sense.

Read the entire post on Facebook