4 ms·
background info: 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
by tobiu 6y ago
background info:
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/DragDrop.mjs 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/tree/dev/src/main/draggable
https://github.com/neomjs/neo/blob/dev/src/dialog/Base.mjs https://github.com/neomjs/neo/blob/dev/src/dialog/Base.mjs