0.6.2 • Published 10 months ago

ez-uploader v0.6.2

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Ez File Uploader Component For Vue 3

This a File Upload Component For Vue 3

  • ✅ Built With TypeScript 💙
  • ✅ 2 way binding support
  • ✅ Drag and Drop Support
  • ✅ File Compress Support Using compressorjs
  • ✅ Fully Customizable Styling Using Sass Variables !
  • ✅ Base 64 Support
  • ✅ Various File Extentions Preview Icons

Usage

npm i ez-uplpader

yarn add ez-uploader

Single File

<script>
   import EzUploader from 'ez-uploader';
   import 'ez-uploader/style'
   const file = ref(null);
</script>

<template>
  <EzUploader v-model="file"></EzUploader>
</template>

Multiple Files

<script>
   import EzUploader from 'ez-uploader';
   import 'ez-uploader/style'
   const file = ref(null);
</script>

<template>
  <EzUploader  multiple v-model="files"></EzUploader>
</template>

Props

NameDescDefaultType
base64Provide Base 64 for outputfalseboolean
containContain Preview Imagestrueboolean
coverCover Preview Imagesfalseboolean
deleteBtnClassclass for delete btnstring
acceptSet File Accept For the HTML File inputimage/*string (HTML Accept attribute)
qualityCompress the quality of the uploaded image1number (0.1 to 1)

Events

  • @validationError {errorMessage, errorType , fileName?}
  • @base64Generated (base664 : string | string[])
0.6.2

10 months ago

0.5.0

10 months ago

0.6.1

10 months ago

0.6.0

10 months ago

0.4.2

12 months ago

0.4.1

12 months ago

0.4.0

12 months ago

0.3.9

12 months ago

0.3.8

12 months ago

0.3.7

12 months ago

0.3.6

12 months ago

0.3.5

12 months ago

0.3.4

12 months ago

0.3.3

12 months ago

0.3.2

12 months ago

0.3.1

12 months ago

0.3.0

12 months ago

0.2.7

12 months ago

0.2.6

12 months ago

0.2.5

12 months ago

0.2.4

12 months ago

0.2.3

12 months ago

0.2.2

12 months ago

0.2.1

12 months ago

0.2.0

12 months ago

0.1.1

1 year ago