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

What is Framer? Join the Community
Return to index
Andy Law
Posted Apr 01 - Read on Facebook

New to FramerJS: Can you use an event listener to detect the correct device orientation and rotate the UI accordingly? Right now I'm using a button with...
Framer.Device.rotateLeft(true)
...to drive the orientation change. Any advice?

2 Comments

Andreas Wahlström

Hi! Haven't tried it myself, but maybe this will help: http://www.williammalone.com/articles/html5-javascript-ios-orientation/

Andy Law

Andreas Wahlström thanks I'll check it out!

Read the entire post on Facebook