You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that we can mimic move with this option
each: {
move: true,
}
the problem is that it seems to work only with existing elements.
-> When i add a new element on the scene and move it, mimic with others existing elements not working.
We saw it on your example with thoses two yellow rectangle http://jsfiddle.net/nichollascarter/qgwzch0v/
My idea is to create a function like this -> if i move a draggable element (i can know that with your onmove function) then move all elements with class ".draggable" which have also specific class (for example ".mimic").
Add and remove the .mimic class will be easier for me, i can do it.
...But my real problem is how can i use your code in subjx.dev to call a mimic function ??
Thanks in advance !
The text was updated successfully, but these errors were encountered:
redgriffith
changed the title
mimic move for added form
mimic move for new elements
Aug 31, 2021
Hello,
I see that we can mimic move with this option
each: {
move: true,
}
the problem is that it seems to work only with existing elements.
-> When i add a new element on the scene and move it, mimic with others existing elements not working.
We saw it on your example with thoses two yellow rectangle http://jsfiddle.net/nichollascarter/qgwzch0v/
My idea is to create a function like this -> if i move a draggable element (i can know that with your onmove function) then move all elements with class ".draggable" which have also specific class (for example ".mimic").
Add and remove the .mimic class will be easier for me, i can do it.
...But my real problem is how can i use your code in subjx.dev to call a mimic function ??
Thanks in advance !
The text was updated successfully, but these errors were encountered: