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

What is Framer? Join the Community
Return to index
Elliot Nolten
Posted Sep 09 - Read on Facebook

Hey guys, first of all, amazing update on Framer! However right before this update I used this line of code to determine if the device has a retina resolution 😅 What is the best way to this now the Desktop device is deprecated? Thanks!

1 Comments

Benjamin Den Boer

Hiya Elliot Nolten! Ah, I see. Well, if you're using the new detachable canvas as a way to design for desktop — you can replace "desktop" with "fullscreen". Alternatively, there's also Utils.isDesktop() which checks the actual device you're viewing it on. :-) (Useful when mirroring)

Read the entire post on Facebook