dropzone

Handles drag and drop of files for you.

dropzone downloads dropzone version dropzone license

dropzone类似的npm包:

npm下载趋势

3 年
🌟 在 dropzone 的 README.md 中显示实时使用量图表,只需复制下面的代码。
## Usage Trend
[![Usage Trend of dropzone](https://npm-compare.com/img/npm-trend/THREE_YEARS/dropzone.png)](https://npm-compare.com/dropzone#timeRange=THREE_YEARS)

Cumulative GitHub Star Trend

🌟 在 dropzone 的 README.md 中显示 GitHub stars 趋势图表,只需复制下面的代码。
## GitHub Stars Trend
[![GitHub Stars Trend of dropzone](https://npm-compare.com/img/github-trend/dropzone.png)](https://npm-compare.com/dropzone)

统计详情

npm包名称
下载量
Stars
大小
Issues
发布时间
License
dropzone018,401843 kB1116 天前MIT

dropzone的README

Dropzone

Dropzone is a JavaScript library that turns any HTML element into a dropzone. This means that a user can drag and drop a file onto it, and Dropzone will display file previews and upload progress, and handle the upload for you via XHR.

npm install dropzone
# or
pnpm add dropzone
import { Dropzone } from "dropzone";

const dropzone = new Dropzone("div#myId", { url: "/file/post" });

Written in TypeScript, and the types ship with the package. There is no @types/dropzone to install — remove it if you have it, since it stopped at 5.7.9 and describes the v5 API.

import type { DropzoneFile, DropzoneOptions } from "dropzone";

Development happens in the dropzone monorepo; this package lives in packages/dropzone. See the repository README for how to build and test it.

NOTE: Dropzone 6 does not support Internet Explorer. If you still need it, use 5.9.3.

MIT License

See LICENSE.