moveable icon indicating copy to clipboard operation
moveable copied to clipboard

Vanilla Demo

Open sdraper69 opened this issue 2 years ago • 3 comments

the demo is great https://daybrush.com/moveable/

Shows a lot of the capability of what I am after. It would be really helpful if there was a vanilla version of the code to inspect

sdraper69 avatar Apr 03 '23 20:04 sdraper69

@sdraper69

The vanilla demo still has a lot going for it.

Since the React version is also being prepared, other frameworks or vanilla are yet to be decided.

https://github.com/daybrush/scena

daybrush avatar Apr 05 '23 16:04 daybrush

I am also looking for the source code of the website https://daybrush.com/moveable/. I found the compiled code at https://github.com/daybrush/moveable/tree/master/demo, but there is no source code available. Could you please provide a copy of the source code? I need to refer to this code to solve the problem where the selection box also scales after the canvas is scaled in my project. I observed in this demo that when an element is selected, the canvas scales, but the selection box does not. I want to achieve this effect. Upon examining the original DOM structure, it was observed that during canvas zooming, the zoom of the "moveable-control-box" is increasing, not decreasing. I would like to know how this is specifically implemented. @sdraper69 @daybrush

li1164267803 avatar Oct 11 '25 08:10 li1164267803

It's solved .. 🥲 zoom={1 / zoom}

li1164267803 avatar Oct 11 '25 08:10 li1164267803