HeinrichApfelmus / threepenny-gui

GUI framework that uses the web browser as a display.
https://heinrichapfelmus.github.io/threepenny-gui/
Other
437 stars 77 forks source link

expose drag-and-drop clientX and clientY #190

Open joeyh opened 7 years ago

joeyh commented 7 years ago

Available in all drag and drop events except for dragEnd.

Closes https://github.com/HeinrichApfelmus/threepenny-gui/issues/189

sjakobi commented 5 years ago

This looks very reasonable to me. Can you give your approval, @HeinrichApfelmus?

sjakobi commented 5 years ago

CI may fail but this builds fine on my machine.

I think what's missing is that ClientXY should be exported?!

HeinrichApfelmus commented 5 years ago

Getting X and Y coordinates from a drag event seems useful.

However, there are two issues with this implementation:

I'm happy to look into this if no one else calls dibs, but it may take another day or two.