1.0.2 • Published 8 years ago
cordova-fs-plugin-fullscreen v1.0.2
cordova-plugin-fullscreen
Interactive fullscreen mode.
cordova-plugin-fullscreen on NPM
Platforms
- Windows 10+
- Android 4.4+
Installation
cordova plugin add https://github.com/filfat-Studios-AB/cordova-plugin-fullscreen
cordova prepare
Methods
Turn fullscreen mode on
Fullscreen.on();
Turn fullscreen mode off
Fullscreen.off();
Feature detect to avoid crash or errors on unsupported platforms:
document.addEventListener('deviceready', function () {
if(typeof Fullscreen !== 'undefined'){
//It's safe to use Fullscreen here
}
});
Misc
- Cordova 5.0 or higher is required for Windows 10 support.
License
MIT