This feature has been deprecated. Use Element#remove() instead.
Element#remove()
Load unpoly-migrate.js to polyfill deprecated features.
unpoly-migrate.js
Removes the given element from the DOM tree.
Important This function not run destructor functions on the removed elements. For this use up.destroy().
This function not run destructor functions on the removed elements. For this use up.destroy().
up.destroy()
The element to remove.