-
-
Notifications
You must be signed in to change notification settings - Fork 616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] Resume moveable object after destroy method #71
Comments
@tissi-2 The moveable only knows the computed transform and only needs to set the target without having to resume it. If you have an example of CodePen, I will help you. |
Hi Younkue,
isn‘t it possible to store the values relative to the dragArea‘s top left position into a variables when calling onDragEnd, onScaleEnd, onRotateEnd? I would like to store an image with these values into a database to let it be displayed in the same way in the dragArea after reading the values out of the database.
Generally I have some questions:
Every js code that I put behind the moveable code isn‘t executed. Why?
|
It's still an experimental method. But you can use it. const rectInfo = moveable.getRect();
export interface RectInfo {
pos1: number[];
pos2: number[];
pos3: number[];
pos4: number[];
left: number;
top: number;
width: number;
height: number;
} |
I think it's possible to set the |
I would like to resume dragging, scaling and roatating the target after having called the destroy method. Is it possible with and without going back to the original state? I kind of think of a
The text was updated successfully, but these errors were encountered: