mirror of
https://github.com/JeremyLikness/vanillajs-deck
synced 2025-12-15 10:43:34 +00:00
Add data-binding for lists
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
<h1>I'm Not Anti-Angular!</h1>
|
||||
<i>Here's proof from 2014...</i>
|
||||
<img src="/images/ng-conf.png" class="expandable" alt="Inside the inaugural Angular conference ngConf"
|
||||
title="Inside the inaugural Angular conference ngConf" />
|
||||
title="Inside the inaugural Angular conference ngConf" />
|
||||
8
slides/data-binding.html
Normal file
8
slides/data-binding.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user