Edit this page

up.Layer up.Layer.prototype.contains(element)
Class method

Returns whether the given element is contained by this layer.

This function will always return false for elements in descendant overlays, even if the descendant overlay's element is nested into the DOM tree of this layer.


element Element

Return value

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