# sv-dropzone sv-dropzone is a simple & ssr ready wrapper around [dropzoneJS] for [svelte] and [sapper]. ![cover](https://user-images.githubusercontent.com/2182637/53614150-efbed780-3c2c-11e9-9204-a5d2e746faca.gif) ## Installation ```bash $ npm i sv-dropzone ``` ## Usage ```js

hello

``` ## API | prop | default | type/structure | | -------------- | -------------------------------------------------------------------------------------- | ------------------------------------- | | dropzoneEvents | {} | object:{{ [eventName]: func}} | | options | { previewTemplate: "`
`", dictDefaultMessage: "" } | object:{{ [optionName]: optionValue}} | | dropzoneClass | "dropzone" | string | | hooveringClass | "dropzone-hoovering" | string | | id | "dropId" | string | | autoDiscover | false | bool | | slot | `

drop your file(s) here or click to add file

` | element | - All dropzone events can be found [here](https://www.dropzonejs.com/#events-list) - All dropzone options can be found [here](https://www.dropzonejs.com/#configuration-options) [dropzonejs]: https://www.dropzonejs.com/ [svelte]: https://svelte.dev/ [sapper]: https://svelte.dev/ [eventname]: https://www.dropzonejs.com/#events [optionname]: https://www.dropzonejs.com/#configuration-options [logo]: https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 2"