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

What is Framer? Join the Community
Return to index
Matthew Joseph Kulp
Posted Oct 28 - Read on Facebook

Hey all -

What's the best way to remove the deviceImage?

I tried:

Framer.Device.deviceType = 'fullScreen'

..but it breaks my scroll components.

I know that I can create a custom device and not load a deviceImage. Is there a simpler way, though? A one line way?

Thanks!

3 Comments

Joshua Tucker

Hey Matthew! You're in luck, there is a one-liner. Framer.Device.phone is a layer that has an image property. Set its image property to null / "", and you've got yourself a device-less frame.

Note it does flicker a bit when you refresh, but it should serve your purpose. Let me know if that works for you!

Andrew Nalband

Why not just change the viewer to Fullscreen?

Matthew Joseph Kulp

Joshua Tucker thank you! Works perfectly

Read the entire post on Facebook