cordova-plugin-screen-orien.../www/screenorientation.wp8.js
2015-05-13 20:30:41 +02:00

8 lines
246 B
JavaScript

var exec = require('cordova/exec'),
screenOrientation = {};
screenOrientation.setOrientation = function(orientation) {
exec(null, null, "YoikScreenOrientation", "screenOrientation", [orientation]);
};
module.exports = screenOrientation;