Edit this page

up.layer up.layer.contains(element)
JavaScript function

Returns whether the given element is contained by the current layer.

This is a shortcut for up.layer.current.contains(element). See up.Layer#contains for more documentation.


Parameters

element Element