vue-moveable icon indicating copy to clipboard operation
vue-moveable copied to clipboard

How to set initial position for a warpable component

Open akjoshi6 opened this issue 6 years ago • 1 comments

I want to create polygon like moveable under specific div given that I have 4 x-y coordinates where the moveable needs to be placed. And also need new position (if changed by user) w.r.t. that specific div. Please guide.

akjoshi6 avatar Nov 15 '19 07:11 akjoshi6

You can convert your values to css matrix and sync it with moveable on component mount

Also check this comment The idea is to have state of moveable managed explicitly. I mean, each time moveable position changes state should be updated. And vise-versa

probil avatar Apr 05 '20 11:04 probil