File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -32,20 +32,20 @@ new Vue({
32
32
template : `
33
33
<Page>
34
34
<StackLayout>
35
- <list-view :items=" items">
35
+ <list-view for="line in items">
36
36
<v-template>
37
37
<StackLayout style="padding: 50;">
38
- <Label :text="item.value " style="color: blue;"/>
38
+ <Label :text="line " style="color: blue;"/>
39
39
</StackLayout>
40
40
</v-template>
41
- <v-template if="item .value.length == 2">
41
+ <v-template if="line .value.length == 2">
42
42
<StackLayout style="padding: 50;">
43
- <Label :text="item.value " style="color: green;"/>
43
+ <Label :text="line " style="color: green;"/>
44
44
</StackLayout>
45
45
</v-template>
46
- <v-template if="item .odd">
46
+ <v-template if="line .odd">
47
47
<StackLayout style="padding: 50;">
48
- <Label :text="item.value " style="color: red;"/>
48
+ <Label :text="line " style="color: red;"/>
49
49
</StackLayout>
50
50
</v-template>
51
51
</list-view>
You can’t perform that action at this time.
0 commit comments