Search code examples
node.jsgoogle-chromechromiumnode-webkit

Can I drag a file out of a node-webkit app and drop it on the Desktop?


The client is trying to figure out whether they'd like to go with a node-webkit app with AngularJS, but their one sticking point is that they'd like to be able for their users to drag a file out of the app and onto the desktop or an email client (such as Outlook or Lotusnotes) like you can do with an applet (which I'm desperately trying to avoid).

As far as I can tell, this doesn't look possible, but I'm not well versed yet with the latest stuff you can do with HTML5 and Chrome specifically. Any guidance is greatly appreciated.

Edit: I've also never used node.js


Solution

  • http://www.html5rocks.com/en/tutorials/dnd/basics/#toc-dnd-files

    http://www.thecssninja.com/javascript/gmail-dragout

    The answer is yes. Here is some more text so that I can submit my answer.