通过拖动到 Cappuccino 中的浏览器窗口来上传文件
有人做了什么事情,使通过将文件从桌面拖动到浏览器窗口来将文件上传到 Cappuccino 中的服务器成为一个简单的过程吗? Cappuccion 中是否有任何内置功能可以让您轻松添加此功能?
Is there anything that has been done by somebody to make it a simple process to upload a file to the server in Cappuccino by dragging it from desktop to the browser window? Are there any built-in features in Cappuccion that let add this functionality easily?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看 Deep Drop 上传框架。不过,主存储库中还没有进行太多开发。您可能更喜欢我的 Deep Drop Upload 分支,它经过了一些清理并包含修复程序适用于各种浏览器。
请注意,拖动上传并不适用于所有浏览器,因此 Deep Drop Upload 还具有“传统模式”,使用一个按钮,其 API 与常规操作大致相同。
Check out the Deep Drop Upload framework. There hasn't been much development going on in the main repo though. You might prefer my fork of Deep Drop Upload here which is cleaned up a little and contains fixes for various browsers.
Note that drag upload does not work in all browsers so Deep Drop Upload also features a 'legacy mode' using a button with roughly the same API as the regular operation.