vue-files-dropper
Vue Files Dropper
Simple input for drop files on vue
Live Demo
Install
npm
npm install vue-files-dropper --save
import "vue-files-dropper";
import "vue-files-dropper/dist/vue-files-dropper.css";
Usage
Use it with v-model :
<vue-files-dropper v-model="file">Drop yor file</vue-files-dropper>
You can use multiple property:
<vue-files-dropper v-model="files" multiple>Drop yor files</vue-files-dropper>
Customize
You can add class and customize input.
<vue-files-dropper v-model="file" class="aqua">Drop yor file</vue-files-dropper>
.aqua{
background: aqua;
border-color: darken(aqua, 5);
min-height: 10em;
transition: 1s;
&:not(.disabled){
&:hover, &.hover{
background: chocolate !important;
color: white;
border-color: darken(chocolate, 5);
}
}
}
Contributors
Related Packages
vue-file-agent
High performant Vue file upload component with elegant and distinguishable previ...
227,360
725
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.12 | ^2.5.16 | ||
| 0.1.11 | ^2.5.16 | ||
| 0.1.10 | ^2.5.16 | ||
| 0.1.9 | ^2.5.16 | ||
| 0.1.8 | ^2.5.16 | ||
| 0.1.7 | ^2.5.16 | ||
| 0.1.6 | ^2.5.16 | ||
| 0.1.5 | ^2.5.16 | ||
| 0.1.4 | ^2.5.16 | ||
| 0.1.3 | ^2.5.16 | ||
| 0.1.2 | ^2.5.16 | ||
| 0.1.1 | ^2.5.16 | ||
| 0.1.0 | ^2.5.16 |