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 up.element.isDetached().
Parameters
element
required
Type: Element
Return value
Type: boolean