Multi-child Component Properties
A multi-child component is an abstract component that arranges and displays multiple child components
Multi-child components
The following components are multi-child components:
Properties
All multi-child components have the following properties:
- All base component properties.
- The multi-child component-specific properties listed in the following table. See the meaning of the columns.
Property | Type | Default | Styled | Dynamic | Description |
---|---|---|---|---|---|
data |
Array | <none> | No | No | Data to bind into this multi-child component. |
firstItem |
Array of components and layouts | <none> | No | No | A component to display before all others. |
item , items |
Array of components and layouts | [] | No | No | The components or layouts to display. |
lastItem |
Array of components and layouts | <none> | No | No | A component to include after all others. |
data
An array of data. If the data array is bound, the multi-child component uses the data array inflation method. This means that the components in items
are inflated one time for each value in data
.
firstItem
A single component or layout to pre-pend to the multi-child component using the single child inflation method.
item, items
An array of components and layouts to display.
When the data
property has a value, the multi-child component uses the data array inflation method.
When the data
property does not have a value, the multi-child component uses the simple array of child components inflation method.
lastItem
A single component or layout to append to the multi-child component using the single child inflation method.