- From: Mounir Lamouri <mounir@lamouri.fr>
- Date: Wed, 27 Nov 2013 02:16:32 +1100
- To: public-webapps@w3.org
Hi,
I got some requests from different organizations to add the ability to
lock to the 'current' orientation in the Screen Orientation API.
>From Javascript, that would allow writing
window.screen.lockOrientation('current');
instead of
window.screen.lockOrientation(window.screen.orientation);
Basically, a syntax sugar.
>From the manifest, writing the following
'orientation': 'current',
would allow locking the application to the orientation it is loaded in
at startup.
It is a tiny use case but it seem that there are apps out there doing
that (like the iOS Task Switcher, I was told).
WDYT?
--
Mounir
Received on Tuesday, 26 November 2013 15:16:57 UTC