Open garrettmaring opened 5 years ago
Currently we don't support a way of doing this out of the box. For this to work we would need to add something like an
unbindEvents()
which would use theremoveEventListener
method which would allow you to call in some way to unbind the binded events.Open to pull requests on this, will take a look when I get a chance. Not sure if there is a way you can do it right now without the implementation.
Is all the state etc sync'd on the dom node?
The only thing on the dom node will be the added event listeners. What did you have in mind @darkyen?
Any hacks for doing this?
Currently we don't support a way of doing this out of the box. For this to work we would need to add something like an
unbindEvents()
which would use theremoveEventListener
method which would allow you to call in some way to unbind the binded events.Open to pull requests on this, will take a look when I get a chance. Not sure if there is a way you can do it right now without the implementation.