Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-image-crop-upload

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-image-crop-upload - npm Package Compare versions

Comparing version 2.3.3 to 2.4.0

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc