vue-draggable-resizable
vue-draggable-resizable copied to clipboard
Does it work with SVG elements?
Hi.. I was wondering if this component could work with SVG elements? Ive been trying with not much luck.. maybe I'm doing something wrong.. Ive been using it with png images but my images get blurry when too big or small.. thanks!
Update "width" and "height" properties of your svg (I assume your svg inside <img>
tag) and everything should work.
Yes it does. Just be aware that SVG will keep always aspect ratio in case of resize.