Dojo DnD接受外部物体 [英] Dojo DnD acceptance of outside objects

查看:69
本文介绍了Dojo DnD接受外部物体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以对Dojo DnD目标进行编码以接受来自文件浏览器的外部对象(例如文件或文件夹)? Windows资源管理器,例如。

Is it possible to code a Dojo DnD target to accept external objects, such as files or folders from a file explorer? Windows Explorer, for example.

推荐答案

我怀疑,因为这将是浏览器将收到DnD事件...

最好你可以指望一个插件或扩展来处理它,就像优秀的 DragDropUpload 扩展名用于Firefox中的文件上传字段。

I doubt it, because it will be the browser that will receive the DnD event...
At best you can count on a plugin or extension to handle it, like the excellent DragDropUpload extension does for file upload fields in Firefox.

这篇关于Dojo DnD接受外部物体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆