function
Array
Array creates an ordered list of rows containing the supplied fields.
Arguments
| Argument | Type | Description |
|---|---|---|
name | string | The name value. |
children | Fields | The children value. |
Returns
The declared result.
ArrayFieldFull signature
func Array(
name string,
children Fields,
) ArrayFieldRelated types
FieldsFields is the ordered list assigned to ridu.Collection.Fields, ridu.Global.Fields, or a nested field constructor. Populate it with Nodes from this package's constructors. Ridu snapshots the caller-owned slice during construction, editing, and config resolution.
ArrayFieldArrayField configures an ordered list of rows containing the supplied fields.