Cross iFrame Drag'n'Drop
marcj opened this issue · comments
Would be cool to have this feature included.
Unfortunately, your code is written in CoffeeScript, so I can't contribute this feature.
That's an interesting idea for a feature, thanks!
If you know Javascript you can write Coffeescript. You can add explicit returns and as many parenthesis as you need, and ignore features like comprehensions (like most of Coffeescript, appearing in ES6)! The syntax will take no time to learn (especially if you've written Python or Ruby).
Yeah, I 'could' but won't because I don't like the syntax. :-P
Is there a reason why you've closed this? Means that this feature won't be included in the near future? :-(
If you'd like it, I'm happy for you to write it in Javascript and I'll include it in a build-step. Unfortunately I've only got time to maintain the current features at the mo as I'm working on SidekickJS (sole founder :) ).
p.s I'm not a fan of C-syntax languages but that doesn't stop me building things in them, and therefore I contribute to lots of JS projects.
Okay closing for now. I'm also unsure if this is supported in the specification and if not, a shim library probably isn't the place for it. If it is in the spec, I'll take a look at supporting it.
Yeah, dont know if it's in the spec, but I really believe so, because all browser support it - they even support dran'n'drop through different applications. So I guess at least this lib should support the maximum possibilies in js: means cross-iframe DnD.
On 30.07.2013, at 12:47, Tim Ruffles notifications@github.com wrote:
Okay closing for now. I'm also unsure if this is supported in the specification and if not, a shim library probably isn't the place for it. If it is in the spec, I'll take a look at supporting it.
—
Reply to this email directly or view it on GitHub.
FYI - code is now converted to JS as I'm looking to move to ES6 in a bit. Would welcome pull requests! :)
The HTML5 spec covers drag and drop across document boundaries such as iFrame boundaries, so I think it is reasonable to add support for this, or at least keep the ticket open as a feature request.
Anybody interested in this feature might take a look at https://github.com/lukaskral/iframe-dnd-shim
@reppners Thanks for the link. This looks awesome :)