mirror of
https://github.com/JeremyLikness/vanillajs-deck
synced 2024-11-15 01:54:57 +00:00
8 lines
264 B
HTML
8 lines
264 B
HTML
|
<title>Data-Binding Example 1</title>
|
||
|
<h1>Data-Binding Example</h1>
|
||
|
<ul>
|
||
|
<li repeat="list" class="appear">{{item.idx}} — {{item.value}}</li>
|
||
|
</ul>
|
||
|
<script>
|
||
|
this.list = [{idx: 0, value:"one"}, {idx: 1, value:"two"}, {idx: 2, value:"three"}];
|
||
|
</script>
|