0.8.3 • Published 4 years ago
vue-dropify v0.8.3
vue-dropify
Description
Dropify build for vuejs framework
vue-dropify package links :
- npm
- yarn
Getting Started
This packages still in Dev mode
vue-dropify helps you to upload files with a simple pre-visual display.
Installing
npm i vue-dropifyyarn add vue-dropifyUsage
import VueDropify from 'vue-dropify';
export default {
components: {
'vue-dropify': VueDropify
}
}Attributes
| name | default | description |
|---|---|---|
| src | null | String // image format: base64 |
| full | false | Boolean // this attribute define if dopify zone is full width |
| size | null | String/Array // [minSize,maxSize] or 'maxSize' |
| unit | 'kb' | String // Options are : ['b'(bytes),'kb'(kilobytes),'mb'(megabytes)] |
| width | 'auto' | String // Width of dropify zone |
| height | '' | String // Height of dropify zone |
| dimensions | null | Object // { width, height } for wanted image dimensions |
| accept | 'image/*' | String // The same option as <input type="file" /> |
| message | null | String // Displayed message when no image is selected |
| multiple | null | Boolean // To enable multiple file upload |
| uploadIcon | '' | String // Icon className |
| removeIcon | null | String // Icon className |
Actions
vue-dropify >= 0.6.0 support
v-modeldirective
| name | description |
|---|---|
| @deprecated @upload | trigger when image is selected |
| @change | when change happen to input file |
0.8.3
4 years ago
0.8.2
4 years ago
0.8.1
5 years ago
0.8.0
5 years ago
0.7.1
5 years ago
0.6.5
5 years ago
0.7.0
5 years ago
0.6.4
5 years ago
0.6.3
5 years ago
0.6.2
5 years ago
0.6.1
5 years ago
0.6.0
5 years ago
0.5.0
5 years ago
0.4.1
6 years ago
0.4.0
6 years ago
0.3.1
7 years ago
0.3.0
7 years ago
0.2.3
7 years ago
0.2.2
7 years ago
0.2.1
7 years ago
0.2.0
7 years ago
0.1.0
7 years ago