Edit this page

up.layer up.popup.contains(elementOrSelector)
JavaScript function

This feature has been deprecated. Use up.layer.contains() instead.

Load unpoly-migrate.js to enable deprecated features.

Returns whether the given element or selector is contained within the current layer.


elementOrSelector string

The element to test

Return value

This website uses cookies to improve usability and analyze traffic.
I accept or learn more