Interact.js: Cleaning up

Created on 18 Nov 2015  Â·  2Comments  Â·  Source: taye/interact.js

In stuff like Backbone, when a view is destroyed, all third party plugins should be destroyed with it.

I've searched the source for "destroy", and didn't find anything, so I'm assuming it's not possible yet?

Most helpful comment

Awesome, thanks! I think this should be outlined on the front-page. :)

All 2 comments

There's an Interactable.unset() method for that
http://interactjs.io/api/#Interactable.unset
Il 18/nov/2015 10:25 PM, "Jeff Hansen" [email protected] ha
scritto:

In stuff like Backbone, when a view is destroyed, all third party plugins
should be destroyed with it.

I've searched the source for "destroy", and didn't find anything, so I'm
assuming it's not possible yet?

—
Reply to this email directly or view it on GitHub
https://github.com/taye/interact.js/issues/316.

Awesome, thanks! I think this should be outlined on the front-page. :)

Was this page helpful?
0 / 5 - 0 ratings