Edit this page

up.element up.element.remove(element)
JavaScript function

This feature has been deprecated. Use Element#remove() instead.

Load unpoly-migrate.js to polyfill deprecated features.

Removes the given element from the DOM tree.

Important

This function not run destructor functions on the removed elements. For this use up.destroy().


Parameters

element Element

The element to remove.