bigfork/silverstripe-dropzone
最新稳定版本:2.0.3
Composer 安装命令:
composer require bigfork/silverstripe-dropzone
包简介
Dropzone.js field for SilverStripe.
README 文档
README
A Dropzone.js field for SilverStripe 5 - designed to be used on the frontend, not in the CMS.
Work in progress
Config options are listed here: https://www.dropzonejs.com/#configuration. Most config options should already work, support for some hasn’t been added yet.
Stuff that works:
- File uploads
- Multiple files per request (
->setDropzoneConfigOption('uploadMultiple', true)) - "Chunked" file uploads (
->setDropzoneConfigOption('chunking', true)) - Removing existing files
Stuff that doesn't work:
- Re-ordering files - Dropzone.js doesn't appear to support this out of the box
- Server-side thumbnail generation
Contributing
Dropzone forces jQuery as a dependency: dropzone/dropzone#1495 / https://gitlab.com/meno/dropzone/-/issues/2. So before compiling, please manually remove the following lines from dropzone.js (in node_modules): https://github.com/enyo/dropzone/blob/08b9e0a763b54a685404dea523a9c54242fbe1b9/dist/dropzone.js#L3200-L3207
统计信息
- 总下载量: 9.85k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2019-03-19