Legacy docs (v1–v6)
These docs are for an old release. View the v7 docs
edit doc view .md

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.