0.1.4 • Published 6 years ago
kh-dropify v0.1.4
Kh-dropify
Description
Dropify build for vuejs framework
kh-dropify package links :
- npm
- yarn
Getting Started
This packages still in dev mode
Installing
npm installation :
npm i kh-dropify
yarn installation :
yarn add kh-dropify
Usage
require('kh-dropify/dist/kh-dropify.css');
import khDropify from 'kh-dropify';
export default {
components:{
'kh-dropify':khDropify
}
}
Attributes
- full : Boolean // by default false. this attribute define if dopify zone is full width
- message : String // displayed message when no image is selected
- height : String // height of dropify zone
- width : String // width of dropify zone
- accept : String // by default accept image
- multiple : Boolean // by default null
Actions
- upload : trigger when image is selected
- change : when change happen to input file