mirror of
https://github.com/apache/cordova-plugin-screen-orientation.git
synced 2026-04-23 00:00:14 +08:00
setOrientation moved to individual ios and android js files
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
var exec = require('cordova/exec'),
|
||||
screenOrientation = {};
|
||||
|
||||
screenOrientation.setOrientation = function(orientation) {
|
||||
exec(null, null, "YoikScreenOrientation", "screenOrientation", ['set', orientation]);
|
||||
};
|
||||
|
||||
module.exports = screenOrientation;
|
||||
Reference in New Issue
Block a user