Show HN: Desktop ONLY – Drag&Drop performance inside a multithreading env Posted by tobiu on Tuesday August 18, 2020 @09:38AM from the show-hn dept. https://neomjs.github.io/pages/node_modules/neo.mjs/dist/production/examples/dialog/index.html ( 6 comments | 2 points | on HN )
Desktop only as well (until the TouchSensor is ready) and still work in progress:
https://neomjs.github.io/pages/node_modules/neo.mjs/dist/pro...
You can only drag events inside the week view into valid states.
the demo app is located inside the App Worker.
the drag events get triggered in main, while the handlers live within the App Worker scope.
I was sceptical at first, how the performance for a custom drag&drop implementation would work out.
Best to use Chrome (some polishing left for FF & Safari).
The TouchSensor is next on my todo list.
You can find the code here:
https://github.com/neomjs/neo/blob/dev/src/main/addon/DragDr...
https://github.com/neomjs/neo/tree/dev/src/main/draggable
https://github.com/neomjs/neo/blob/dev/src/dialog/Base.mjs
https://youtu.be/UT0Gyy3cjl0
A blog post will follow.
https://youtu.be/dFHeDd7wAus
you can now drag&drop in desktop and mobile envs. in case you use chrome to toggle the modes, please make sure to reload the page.
same url.