marcoscaceres commented on this pull request.
> </p>
<pre class='example html'>
<script>
- var start = function() {
- document.onfullscreenchange = function() {
- screen.orientation.lock('natural').then(startInternal);
- }
- document.documentElement.requestFullscreen();
+ function ready(){
+ console.log("Now full screen and ready to start, locked to " + screen.orientation.type);
(feel free to adjust the wording)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/screen-orientation/pull/134#discussion_r248619013