edit doc

viewSkeletonDestroy

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

function( info )

info is a plain object with the following:

view

The View Object.

el

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.