vue-image-crop-upload
Advanced tools
Comparing version 2.3.3 to 2.4.0
{ | ||
"name": "vue-image-crop-upload", | ||
"version": "2.3.3", | ||
"version": "2.4.0", | ||
"description": "a vue plgin for image upload and crop(vue图片剪裁上传插件)", | ||
@@ -5,0 +5,0 @@ "main": "upload-2.vue", |
@@ -17,2 +17,5 @@ # vue-image-crop-upload | ||
## Change log | ||
#### @2.4.0 | ||
- Added the **src-file-set** event, emit event when file is selected (thanks @choruru) | ||
#### @2.3.3 | ||
@@ -124,2 +127,3 @@ - Added the **Swedish** language pack (thanks @hekin1) | ||
| ----------------| ------------------------------------------| | ||
| srcFileSet |Once you've selected the file, params( fileName, fileType, fileSize ) | | ||
| cropSuccess | image crop success, params( imageDataUrl, field ) | | ||
@@ -345,2 +349,5 @@ | cropUploadSuccess | upload success, params( jsonData, field ) | | ||
## 更新日志 | ||
#### @2.4.0 | ||
- 增加了“src-file-set”回调事件,在用户选择文件之后触发。 | ||
#### @2.3.0 | ||
@@ -409,2 +416,3 @@ - 如果导出图片格式为jpg,则背景默认白色,你也可以通过新增的“imgBgc”属性自定义。如果导出格式为png,则默认透明 | ||
| ----------------| ------------------------------------------| | ||
| srcFileSet |用户选取文件之后, 参数( fileName, fileType, fileSize ) | | ||
| cropSuccess | 图片截取完成事件(上传前), 参数( imageDataUrl, field ) | | ||
@@ -411,0 +419,0 @@ | cropUploadSuccess | 上传成功, 参数( jsonData, field ) | |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1982731
603
24