These docs are for an old release. Info on upgrading to v5
edit doc


Triggered before a view’s DOM skeleton is removed from the DOM.

function( info )

info is a plain object with the following:


The View Object.


The HTML element for the container of the existing view.

This callback will be triggered immediately before the view is about to be removed from the DOM. This could happen because of a view type switch or a destroy method call.