A HTML5 file picker for VueJS
npm install vue-file-pickerWe handle
- a html file input
- a js drag & drop area
You handle
- What happens after files are recieved, eg
- uploading
- presentation of the UI
npm install vue-file-picker --save
``Usage
$3
| Name | Type | Default | Description |
| ------------- | -------------- | --------- | ----- |
| id | string (required) | null | id of the wrapping div |
| accept | string details | / | A string that defines the file types the file input should accept |
| allowMultiple | boolean details | false | Allows the user to select more than one file |
$3
| Name | Description |
| ------- | ------------- |
| icon | Something to display above the label, eg an i or svg` |