Dropzone-File Uploads

OverviewOfficial Website

Dropzone.js is one of the most popular drag and drop JavaScript libraries. It is free, fully open source, and makes it easy for you to handle dropped files on your website.

Import Package
<!-- dropzone -->
import Dropzone from 'svelte-file-dropzone';";
Add Package
yarn add svelte-file-dropzone --save
Remove Package
yarn remove svelte-file-dropzone ( you can remove package by removing specific package from package.json )
Examples
Title Javascript
Dropzone
<Dropzone on:drop={handleFilesSelect}>
<div>
        <div class="dz-message needsclick">
            <div class="dz-message needsclick">
                <div class="mb-3">
                    <i class="display-4 text-muted ri-upload-cloud-2-fill" />
                </div>
                <h4>Drop files here or click to upload.</h4>
            </div>
        </div>
    </div>
</Dropzone>
© Velzon.
Design & Develop by Themesbrand