Moveable: Is there a way to clone and drag an element?

Created on 11 Oct 2019  路  4Comments  路  Source: daybrush/moveable

As seen here: http://jsfiddle.net/nichollascarter/qgwzch0v/

This manipulation library is pretty interesting because it allows you to click on drag the yellow square and it clones the element.

question solved

All 4 comments

@pistell

Is this what you want?

https://codepen.io/daybrush/pen/KKKdLqw

Yes. Wow I can't believe I missed that. I should really stop asking questions at 3am and get some sleep

@pistell

Feel free to write issues if you have a question or a feature request.

Thank you :)

Hi there. I reworked this because I didn't want to include scene.js. It uses the HTML5 drag-and-drop API along with moveable.js

Just in case anyone else was curious how I did it I am including a pen. Oh and the icons are selectable/unselectable, so you can choose which ones to resize/scale/etc.

https://codepen.io/pistell/pen/XWWdZrv

Thanks for the awesome library!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ajinkya-dev picture ajinkya-dev  路  3Comments

plotpoi picture plotpoi  路  4Comments

abinhho picture abinhho  路  5Comments

tesmem101 picture tesmem101  路  3Comments

jiseopX picture jiseopX  路  4Comments