0.2.2 • Published 3 years ago

vue-file-drop v0.2.2

Weekly downloads
10
License
MIT
Repository
-
Last release
3 years ago

vue-file-drop

Vue component for File DnD area and call File Select Dialog.

:truck: Install

yarn add vue-file-drop
or
npm i vue-file-drop

Use globally

`ts~/main.ts import VueFileDrop from "vue-file-drop";

createApp(App).use(VueFileDrop).mount("#app");

### Use locally

```js
<script>
  import { VueFileDrop } from 'vue-file-drop'

  export default {
    components: {
      VueFileDrop,
    },
  }
</script>

Template

<template>
  <vue-file-drop>
</template>

:package: Components

vue-file-drop

Props

NameDescriptionDefault
acceptRestricts downloads to an extension type.*
multipleAllows multiple files to be selected. (disables file reading!)false

events

NameReturn typeDescription
acceptFileListWhen file DnDed or file selected though file select dialog.
0.2.2

3 years ago

0.2.1

3 years ago

0.1.0

3 years ago

0.1.1

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.0-alpha.2

3 years ago

0.1.0-alpha.1

3 years ago

0.1.0-alpha.0

3 years ago