These docs are for an old release.
Info on upgrading to v5
eventDestroy
Called before an event’s element is removed from the DOM.
function( info ) { }
info is a plain object that contains the following properties:
| event |
The associated Event Object. |
|---|---|
| el |
The HTML element that is being destroyed. |
| isMirror |
|
| view |
The current View Object. |
This callback gets called once for every event element. It is a great way to tear down any plugins you might have applied in eventRender.