0.1.1 • Published 2 years ago

@blanderbit/vue2-drag-drop-zone v0.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

vue2-drag-drop-zone

PROPS

height - by default 400px, you can pass any height with any extension (px, em, vh....)

fileValidationOptions - Array of options, for check file extension, should be pass

[
  { extension: '.pdf' } 
] // any extension 

EVENTS

@success-dropped-files - returns files that haven`t passed the options check

@error-dropped-files - returns files that have passed the options check

EXAMPLE

Customize configuration

See Configuration Reference.