Edit this page

up.element up.element.isAttached(element)
JavaScript function

This feature has been deprecated. Use element.isConnected instead.

Load unpoly-migrate.js to polyfill deprecated features.

Returns whether the given element is attached to the DOM tree.

See also


Parameters

element Element

Return value

boolean