wprins Posted September 27, 2016 Posted September 27, 2016 Is there a demo or can someone explain whether there's a UniGUI based way to request fullscreen mode from the browser (on login say)? E.g using browser API as mentioned here: https://davidwalsh.name/fullscreen https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API There seems to be some differences between how browsers handle this (sigh) which seems to be taken care of by the following library, apparently: https://github.com/sindresorhus/screenfull.js/ Quote
wprins Posted September 28, 2016 Author Posted September 28, 2016 So I suppose the thundering silence implies everyone runs their UniGUI apps with the browser fully visible(?) Quote
zilav Posted September 28, 2016 Posted September 28, 2016 The generic usage of 3rd party js libs is following: 1) Add js file(s) into ServerModule.CustomFiles 2) Use UniSession.AddJS() to execute javascript code from within uni events I don't see any reason why whis particular lib won't work this way. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.