mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-20 01:22:52 +08:00
10 lines
252 B
JavaScript
10 lines
252 B
JavaScript
var util_1 = require('../util');
|
|
var PLUGIN_REF = 'navigator.camera';
|
|
var Camera = (function () {
|
|
function Camera() {
|
|
}
|
|
Camera.getPicture = util_1.promisify(PLUGIN_REF, 'getPicture', 0, 1);
|
|
return Camera;
|
|
})();
|
|
exports.Camera = Camera;
|