

I know it's been a while since this discussion is started but I'm struggling with a couple of small issues. If anybody could make Draggable do what you want (besides me), it's Jamie, so maybe he'll give it a shot Resizing isn't "officially" supported right now, that's all. "Shockingly Green" and "Business Green" members can get early access by request.Īnyway, the short answer to your question is "no, not yet", but you could certainly try to adapt Draggable to suit your needs. It lets you locate any point in 2D space in any element in a global or local context, and translates between the two (globalToLocal() and localToGlobal()) but we're not quite ready to release that yet. We have been working on a tool that will be very handy for empowering that, and we hope to release it in another month or two. That's a different beast that'll take a lot of time to build the "right" way. Clearly it addressed a common pain point and we've done a lot to help push it further to accommodate many needs, but it's not intended to be a full-blown TransformManager-like transformation tool with multiple selections and scaling. Believe it or not, Draggable was born simply as a way to demonstrate a practical use case for the ThrowPropsPlugin animation tool. The animation tool sets out there for HTML5 stuff. We have been asked many times to build something like TransformManager in JS, but that's a pretty big job and we have been very focused on the animation platform because frankly that's what the web needs most right now (in my opinion). Then factor in arbitrary transformOrigins and arbitrary transforms that are applied to ancestor elements, and it'll give you a headache While it's relatively easy to make a non-rotated element resizable, it's MUCH more difficult when you introduce rotation, skewing, and multiple selections that may each have different rotations/skews/scales. (see ) so I'm pretty familiar with some of the common "gotchas" that tend to hit folks when trying to build that type of tool. I built a Flash-based tool called TransformManager years ago that handles multiple selections, rotation, resizing, moving, etc. Well, to do it "right", it's much more complex than it may seem.
