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.


Parameters

element Element

Return value

boolean