0.0.4 • Published 9 years ago

com.jp.plugin.screenorientation v0.0.4

Weekly downloads
-
License
Apache 2.0
Repository
-
Last release
9 years ago

*Cordova : Screen Orientation*

By using this plugin you can set your screen orientation

Install this plugin using:

cordova plugin add com.jp.plugin.screenorientation

Remove Plugins :

cordova plugin remove com.jp.plugin.screenorientation

Put the below code in your javascript code to show_toast:

screen.setorientation( function(success) { console.log(success); }, function(error) { console.log(error); }, orientation );

orientation: set your orientation string landscape, portrait, etc.

GitHub URL: https://github.com/jaypratapsingh/ScreenOrientation

npm url : https://www.npmjs.com/package/com.jp.plugin.screenorientation