Edit this page

up.Layer up.Layer.prototype.ancestors
Property

Returns an array of this layer's ancestor layers.

The array elements are ordered by distance to this layer. The first element is this layer's direct parent. The last element is the root layer.


Return value

Array<up.Layer>

ancestors