1.0.0 • Published 7 years ago
vue-mobile-avatar-upload v1.0.0
vue-image-crop-upload
A mobile component used for cropping and uploading avatar;
Install
npm
$ npm install vue-mobile-avatar-upload
Usage
Props
Name | Type | Default | Description |
---|---|---|---|
action | String | '' | Server path, If empty, will not be uploaded |
maxSize | Number | 6000 | the maximum of image's size. |
language | String | en | language,'zh'(chinese),'en'(english) |
Events
Name | Description |
---|---|
onBegin | image begin upload |
onSuccess | upload success, params( response ) |
onError | upload fail, params( status ) |
1.0.0
7 years ago