开发者

HTML5 - Subelements of and object

开发者 https://www.devze.com 2023-03-20 03:11 出处:网络
I got following problem. I\'m implementing some king of editor for some templates. The main functionality of that editor is to drag some rectangles (which are representing some tables) to new position

I got following problem. I'm implementing some king of editor for some templates. The main functionality of that editor is to drag some rectangles (which are representing some tables) to new positions and save it.

Each rectangle has it name. And I want to display rectangle with te开发者_StackOverflowxt name inside and then drag that rectangle with text inside.

Is such object groups are possible without any tricky workaround?


Sounds like fabric.js is exactly what you need:
https://github.com/kangax/fabric.js

You can see some demos and feel how it can suit you: http://kangax.github.com/fabric.js/demos/index.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号