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 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 >
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 ">
Original file line number Diff line number Diff line change 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 >
5151 < ul id ="demo ">
5252 < item
5353 class ="item "
54- prop -model ="treeData ">
54+ bind -model ="treeData ">
5555 </ item >
5656 </ ul >
5757
You can’t perform that action at this time.
0 commit comments