Edit this page

up.Layer up.Layer.prototype.child
Property

Returns this layer's child layer.

The child layer is the layer that was opened on top of this layer. It visually overlays this layer.

Returns undefined if this layer has not opened a child layer.

A layer can have at most one child layer. Opening an overlay on a layer with an existing child will first dismiss the existing child before replacing it with the new child.


Return value

child