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

What is Framer? Join the Community
Return to index
Tony Gaskell
Posted May 25 - Read on Facebook

Is there a correct way to lock screen orientation?

Setting an interval to lock the rotation feels dirty...

1 Comments

Benjamin Den Boer

Hey Tony — you could listen to orientation changes using the following event:

Framer.Device.on "change:orientation", ->
____print this.orientation

Read the entire post on Facebook