插件名称 | vue-painting |
---|---|
发布时间 | 2020年9月17日 |
插件作者 | wotermelon |
一个Vue.js组件,使您可以在图像上实现裁剪和绘制功能。
# NPM
$ npm install vue-painting --save
支柱 | 类型 | 描写 |
---|---|---|
img | 串 | 图像来源可以是base64 和url |
名称 | 参数[类型] | 描写 |
---|---|---|
saveImage | clipImage [Blob] | save button 点击时发送 |
copyImage | clipImage [Blob] | √ 点击时发送 |
quit | 何时分派 quit |
官网:https://github.com/wotermelon/vue-painting
GitHub下载:https://github.com/wotermelon/vue-painting/archive/master.zip