You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An element can include a property @@girders-elements/children which denotes which of it's properties contain children elements. These properties can either contain an element or an array of elements.
This property can contain:
a string denoting a single property name, (e.g. '@@girders-elements/children': 'children')
an array of strings denoting which properties are child elements
E.g.
An element can include a property `@@girders-elements/children` which denotes *which of it's properties contain children elements*.
This is an optional property, and can contain:
- a *string* denoting a single property name, (e.g. `'@@girders-elements/children': 'children'`)
- an *array of strings* denoting which properties contain child elements
*A property containing child elements* can either:
- contain a single element
- contain an array of elements
E.g.
```javascript
{
kind: ['container', 'two-column'],
'@@girders-elements/children': ['main', 'aside'],
main: [
{
kind: 'tile',
content: [ ],
},
// ...
],
aside: {
kind: 'weather',
content: [],
}
}
```
This feature enhances the `zip.elementZipper`
An element can include a property
@@girders-elements/children
which denotes which of it's properties contain children elements. These properties can either contain an element or an array of elements.This property can contain:
'@@girders-elements/children': 'children'
)E.g.
Support required:
uiFor
with no arguments produces the UI for all child elementsThe text was updated successfully, but these errors were encountered: