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()
.
The element to remove.