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 does not run destructor functions on the removed elements. For this use
up.destroy().
Tip Your coding agent can search these docs locally with the Unpoly agent skill