1.2.7 • Published 3 months ago
cordova-plugin-mz-image-picker v1.2.7
cordova-imagePicker
forked from giantss/cordova-plugin-ImagePicker
support android 10
Installing the plugin
cordova plugin add cordova-plugin-mz-image-picker
Using the plugin
The plugin creates the object window.imagePicker
with the method getPictures(success, fail, options)
Example - Get Full Size Images (all default options):
window.imagePicker.getPictures(
function(results) {
for (var i = 0; i < results.length; i++) {
console.log('Image URI: ' + results[i]);
}
}, function (error) {
console.log('Error: ' + error);
}
);
### 发布
npm publish --registry=https://registry.npmjs.org/