Each area has two property references to its child areas, namely: $$childHeadand $$childTail. In addition, each scope object has $$nextSiblingand properties $$prevSiblingthat point to instance instances of a scope with the same level. With these properties, you can move all child regions horizontally or vertically. Depending on why you need to do this at every step, you should check for the presence of the required property or method.
At the same time, I do not see a real business logic application for such a traversal of a child, except for logging / debugging tasks, for example, to create a tree of area hierarchies, etc.
source
share