Skip to content

Commit 95cc32e

Browse files
committed
fix examples to use bind- for props
1 parent f40e2d7 commit 95cc32e

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

examples/grid/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
Search <input name="query" v-model="searchQuery">
4343
</form>
4444
<demo-grid
45-
prop-data="gridData"
46-
prop-columns="gridColumns"
47-
prop-filter-key="searchQuery">
45+
bind-data="gridData"
46+
bind-columns="gridColumns"
47+
bind-filter-key="searchQuery">
4848
</demo-grid>
4949
</div>
5050

examples/modal/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<div id="app">
5858
<button id="show-modal" on-click="showModal = true">Show Modal</button>
5959
<!-- use the modal component, pass in the prop -->
60-
<modal prop-show="@showModal">
60+
<modal bind-show="@showModal">
6161
<!--
6262
you can use custom content here to overwrite
6363
default content

examples/svg/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
<circle cx="100" cy="100" r="80"></circle>
1616
<axis-label
1717
v-for="stat in stats"
18-
prop-stat="stat"
19-
prop-index="$index"
20-
prop-total="stats.length">
18+
bind-stat="stat"
19+
bind-index="$index"
20+
bind-total="stats.length">
2121
</axis-label>
2222
</g>
2323
</script>
@@ -31,7 +31,7 @@
3131
<div id="demo">
3232
<!-- Use the component -->
3333
<svg width="200" height="200">
34-
<polygraph prop-stats="stats"></polygraph>
34+
<polygraph bind-stats="stats"></polygraph>
3535
</svg>
3636
<!-- controls -->
3737
<div v-for="stat in stats">

examples/tree/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<item
3939
class="item"
4040
v-for="model in model.children"
41-
prop-model="model">
41+
bind-model="model">
4242
</item>
4343
<li on-click="addChild">+</li>
4444
</ul>
@@ -51,7 +51,7 @@
5151
<ul id="demo">
5252
<item
5353
class="item"
54-
prop-model="treeData">
54+
bind-model="treeData">
5555
</item>
5656
</ul>
5757

0 commit comments

Comments
 (0)