HTML5 Data Bindings Extended Repeater Support Product Page
Answered
How can I know if I should use ...
Asked 14 Oct 2014 06:11:33
1
has this question
14 Oct 2014 06:11:33 Gerard Bartholome posted:
"data.repeat" or "data.repeat-children" Replies
Replied 14 Oct 2014 07:04:42
14 Oct 2014 07:04:42 Teodor Kuduschiev replied:
Hello Gerard,
We've discussed this in our forums as well as we've explained this in the video tutorials.
As both names indicate:
- Repeat region (data.repeat when applied to an existing element) repeats the element it is applied to. When you apply it to a div, for example, and your feed returns 10 records, this div will be repeated 10 times on your page
- Repeat Children region (data.repeat-children when applied to an existing element) repeats the child element of the container it is applied to. For example if you apply the repeat-children to an UL with a LI inside, and your feed returns 10 records, you will then have an UL with 10 LIs inside..
It is up to you which of the two option to use.
We've discussed this in our forums as well as we've explained this in the video tutorials.
As both names indicate:
- Repeat region (data.repeat when applied to an existing element) repeats the element it is applied to. When you apply it to a div, for example, and your feed returns 10 records, this div will be repeated 10 times on your page
- Repeat Children region (data.repeat-children when applied to an existing element) repeats the child element of the container it is applied to. For example if you apply the repeat-children to an UL with a LI inside, and your feed returns 10 records, you will then have an UL with 10 LIs inside..
It is up to you which of the two option to use.
Replied 14 Oct 2014 12:43:58
14 Oct 2014 12:43:58 Gerard Bartholome replied:
Hello Teodor,
Thank you for your answer.
I tried to find a response with the search functions and the subjet "data.repeat data.repeat-children" but didn't find anything. Is there a special search function for the forums ?
Thank you for your answer.
I tried to find a response with the search functions and the subjet "data.repeat data.repeat-children" but didn't find anything. Is there a special search function for the forums ?