mirror of
https://github.com/esiur/iui.git
synced 2025-06-27 17:33:12 +00:00
scope
This commit is contained in:
14
docs/md/components/repeat.md
Normal file
14
docs/md/components/repeat.md
Normal file
@ -0,0 +1,14 @@
|
||||
# I-Repeat
|
||||
|
||||
`<i-repeat>` performs a an iteration on an array and builds elements according to the given list
|
||||
|
||||
|
||||
<i-codepreview>
|
||||
<i-repeat :data="['Apple', 'Orange', 'Grape']">
|
||||
<div>${d}</div>
|
||||
</i-repeat>
|
||||
</i-codepreview>
|
||||
|
||||
if the iteration on a specific element is needed, *repeat* attribute must be added to the element.
|
||||
|
||||
*Note* each element in the iteration has an index property
|
Reference in New Issue
Block a user