0.8.3 • Published 3 years ago

vue-dropify v0.8.3

Weekly downloads
82
License
MIT
Repository
github
Last release
3 years ago

vue-dropify

npm license Build Status npm npm

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-dropify
yarn add vue-dropify

Usage

import VueDropify from 'vue-dropify';

export default {
  components: {
    'vue-dropify': VueDropify
  }
}

Attributes

namedefaultdescription
srcnullString // image format: base64
fullfalseBoolean // this attribute define if dopify zone is full width
sizenullString/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
dimensionsnullObject // { width, height } for wanted image dimensions
accept'image/*'String // The same option as <input type="file" />
messagenullString // Displayed message when no image is selected
multiplenullBoolean // To enable multiple file upload
uploadIcon''String // Icon className
removeIconnullString // Icon className

Actions

vue-dropify >= 0.6.0 support v-model directive

namedescription
@deprecated @uploadtrigger when image is selected
@changewhen change happen to input file
0.8.3

3 years ago

0.8.2

3 years ago

0.8.1

3 years ago

0.8.0

3 years ago

0.7.1

3 years ago

0.6.5

3 years ago

0.7.0

3 years ago

0.6.4

3 years ago

0.6.3

3 years ago

0.6.2

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.0

3 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.3

5 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago