Question

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

Was it helpful?

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.

OTHER TIPS

@tjb1982 Using a demo like this one: http://www.thecssninja.com/javascript/gmail-dragout worked for simple files, but when trying to drag a WAV file or MP3 file into a audio software( like logic, pro tools, ableton ) they won't recognise it as an audio file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top