DropzoneOfficial 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.
CSS
<!-- dropzone css -->
<link rel="stylesheet" href="{% static 'libs/dropzone/dist/dropzone.css' %}" type="text/css" />
Javascript
<!-- dropzone js -->
<script src="{% static 'libs/dropzone/dist/dropzone-min.js' %}"></script>
Initjs (Custom js)
<!-- File upload js -->
<script src="{% static 'js/pages/form-file-upload.init.js' %}"></script>
Add Package
yarn add dropzone --save
Remove Package
yarn remove dropzone or you can remove package by removing specific package from package.json
Examples:
Title | Javascript |
---|---|
Dropzone |
|