0.1.12 • Published 6 years ago

vue-files-dropper v0.1.12

Weekly downloads
61
License
-
Repository
-
Last release
6 years ago

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

0.1.12

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago