Skip to content

ChildIterator

class ChildIterator

A ChildIterator is an indexed set of homogeneous children on a controller that all share one interface. It is used when a controller has a variable number of identical children, which it commands by index and can aggregate values across.

Introduction

This mechanism can be used to iterate over children with the same interface.

Definitions

  • Definition of a childIterator is in the controller.
  • To use data with the childIterator, it must be selected in the iterator.
  • Select a getter or setter to use them in codesnippets.

image2020-6-15_11-0-53

Example

  • There are common model functions available on the iterator.

image2020-6-15_11-13-5