Is there a way to set the window to full screen from javascript in cocos2d-x 3?
I would like to add an option in my game to set the window to full screen or to windowed mode (Mas OS, Windows, Linux). Is it possible to do this directly from the javascript?