Edit this page

up.Layer up.Layer.prototype.parent
Property

Returns this layer's parent layer.

The parent layer is the layer that opened this layer. It is visually in the background of this layer.

Returns undefined for the root layer.

Example

up.layer.open()

up.layer.parent // returns up.Layer.Root

Value

parent

This layer's parent layer.