fscreen icon indicating copy to clipboard operation
fscreen copied to clipboard

support for options in requestFullscreen()

Open lguminski opened this issue 4 years ago • 2 comments

this is a very useful library. Yet I noticed that in Android Chrome it fails to hide the navigation bar. In order to do that, navigationUI: 'hide' option needs to be provided to requestFullscreen(), but it is not possible to pass through fscreen.

More information on options here

lguminski avatar Apr 02 '21 21:04 lguminski

I think adding an options argument to fscreen.requestFullscreen makes sense.

Until then you should be able to use fscreen.requestFullscreenFunction(element)(options) to pass in options.

rafgraph avatar Apr 02 '21 21:04 rafgraph

Until then you should be able to use fscreen.requestFullscreenFunction(element)(options) to pass in options.

and this basically solves my problem. thanks!

lguminski avatar Apr 02 '21 22:04 lguminski