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

What is Framer? Join the Community
Return to index
Stephan van Heest
Posted Jan 12 - Read on Facebook

Hi there,
Just a quick question: how do I get the FramerJS artboard size?
I'm using the iPhone 6 template, when I try Framer.Screen.height or window.Screen.height it returns : 988. I expected to get 1334

4 Comments

Jordan Robert Dobson

I think you need .device in there. I'm not at my computer but I think it's framer.device.screen.height

Stephan van Heest

Hi Jordan, Already tried it but it doesn't work (accidentally pasted the same code twice).

Stephan van Heest

Nevermind... the autocomplete suggested the Screen (capital S) changing it to a lowercase s solved the issue. Thanks!

Jordan Robert Dobson

Yeah... to confirm it's Framer.Device.screen.width or height

Read the entire post on Facebook