File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 42
42
Search < input name ="query " v-model ="searchQuery ">
43
43
</ form >
44
44
< 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 ">
48
48
</ demo-grid >
49
49
</ div >
50
50
Original file line number Diff line number Diff line change 57
57
< div id ="app ">
58
58
< button id ="show-modal " on-click ="showModal = true "> Show Modal</ button >
59
59
<!-- use the modal component, pass in the prop -->
60
- < modal prop -show ="@showModal ">
60
+ < modal bind -show ="@showModal ">
61
61
<!--
62
62
you can use custom content here to overwrite
63
63
default content
Original file line number Diff line number Diff line change 15
15
< circle cx = "100" cy = "100" r = "80" > </ circle >
16
16
< axis-label
17
17
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" >
21
21
</ axis-label >
22
22
</ g >
23
23
</ script >
31
31
< div id ="demo ">
32
32
<!-- Use the component -->
33
33
< svg width ="200 " height ="200 ">
34
- < polygraph prop -stats ="stats "> </ polygraph >
34
+ < polygraph bind -stats ="stats "> </ polygraph >
35
35
</ svg >
36
36
<!-- controls -->
37
37
< div v-for ="stat in stats ">
Original file line number Diff line number Diff line change 38
38
< item
39
39
class = "item"
40
40
v-for = "model in model.children"
41
- prop -model= "model" >
41
+ bind -model= "model" >
42
42
</ item >
43
43
< li on-click = "addChild" > +</ li >
44
44
</ ul >
51
51
< ul id ="demo ">
52
52
< item
53
53
class ="item "
54
- prop -model ="treeData ">
54
+ bind -model ="treeData ">
55
55
</ item >
56
56
</ ul >
57
57
You can’t perform that action at this time.
0 commit comments