I wonder how to reach relatively the upper loop context when you are within a loop.
Let's say you have data like this:
{
items: [
{
title: "My Title",
subItems: [
{
name: "My name"
}
]
}
]
}
And a template like this:
<List
showSeparators="None"
items="{path: 'model>/items', templateShareable: false}"
>
<items>
<CustomListItem>
<List
showSeparators="None"
items="{path: 'model>subItems', templateShareable: false}"
>
<items>
<CustomListItem>
<Text text="HOW TO PRINT 'My Title' HERE ??">
</CustomListItem>
</items>
</List>
</CustomListItem>
</items>
</List>
How can I print My Title in the <Text /> in the middle of both loops?