Edit this page

up.fragment up:fragment:destroyed
DOM event

This event is emitted after a page fragment was destroyed and removed from the DOM.

If the destruction is animated, this event is emitted after the animation has ended.

The event is emitted on the parent element of the fragment that was removed.


Event properties

event.fragment Element

The detached element that has been removed from the DOM.

event.parent Element

The former parent element of the fragment that has now been detached from the DOM.

event.target Element

The former parent element of the fragment that has now been detached from the DOM.