Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
image component support save image to photo Album or sd card
design to support it with component Method.
so the dsl will be as follow:
<image ref='image' src="http://www.fresher.ru/manager_content/images2/kadry-veka/big/2-1.jpg" style="width:250px;height:250px;background-color:yellow"></image>
js:
var image = this.$refs.image;
image.save(function(result) {
console.log(result);
}); // html5 iOS and Android provide their own component method
the callback data result format maybe
you can try a complete case:
case: http://dotwe.org/vue/55b9f0683f9c8bb9e12788626608da4c