Giter Site home page Giter Site logo

nerbeer / vue-files-dropper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from d-shorkin/vue-files-dropper

0.0 1.0 0.0 904 KB

Simple input for drop files on vue

Home Page: https://d-shorkin.github.io/vue-files-dropper/

JavaScript 11.56% HTML 7.49% Vue 80.95%

vue-files-dropper's Introduction

Vue Files Dropper

Simple input for drop files on vue

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="file" 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);
      }
    }
  }

vue-files-dropper's People

Contributors

d-shorkin avatar nerbeer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.