These are chat archives for taye/interact.js

26th
Oct 2015
benmchap
@benmchap
Oct 26 2015 12:11
Hi @taye. I've used interact.js to successfully support dragging of rotated objects. I now need to support resizing of rotated objects. I started with the resizing example on your homepage and added a rotate transform to the css (see https://jsfiddle.net/benmchap/rmsw5y46/) but this doesn't work out of the box. I was heading down the line of adding resize handlers to my objects and using selectors for the edges. Could you advise me whether this is the right way to go? I don't need to support resizing top and left, but I do need to support resizing of bottom, right, and bottom and right at the same time. Thanks in advance for any help.
Stefan Smiljkovic
@shtefcs
Oct 26 2015 12:51
@taye is http://plnkr.co/edit/F9eey5rK2yDkBNuWq7TT?p=templates kind of template builder or something ?
catnamedchris
@catnamedchris
Oct 26 2015 17:49
A element restriction doesn't appear to account for resized draggables (see https://jsfiddle.net/catnamedchris/Luydzx9b/1/). How can I make a restriction account for resizing?