Hi, @daybrush
Is it possible to destory (safely kill) moveable instance? I mean, remove elements with moveable-control-box class from the DOM
As you know I created a simple POC on Vue.js but I have a problem - it doesn't work well with Hot Module Replacement.
I'm observing a strange behavior when new element created and old element is not removed.

I've checked documentation already - there is nothing about that.
Expected result: movable instance has destroy() method or moveable can reuse existing moveable-control-box
@probil
Your suggestions are very good. I will add it.
@probil
0.5.0 is released. Added destroy method.
https://daybrush.com/moveable/release/latest/doc/Moveable.html#destroy
hello @probil , is there a way to hide the box(frame)? thanks
hello @standerpm
Add 'display: none' style directly or do as follows.
moveable.target=null
Most helpful comment
hello @standerpm
Add 'display: none' style directly or do as follows.