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

This website uses cookies to improve usability and analyze traffic.
I accept or learn more