yeoman/generator-mobile

Decide how to integrate Fullscreen API support

Closed this issue · 3 comments

So we currently just copy over a sample file with code you can use for fullscreen support. Should we be doing anything more with this? Linking it up to the main index?

I'm not sure about how best to approach this, the developer needs to hook up a button to launch fullscreen, we could add a button to the Allo' Allo' html template injected into each layout and then add a script to launch fullscreen mode from this?

What I did for this was inject a fullscreen API snippet that gets included in your index.html. It'll go into fullscreen if you touch/click body or the button in the Allo' Allo' template. We could probably just do the button. Right now I think it only works for the Bootstrap layout.

Done!