2
0
mirror of https://github.com/tenrok/vue-context.git synced 2026-06-17 04:40:32 +03:00

Test issue #4

This commit is contained in:
Randall Wilk
2018-06-20 08:00:52 -05:00
parent ff6a8f7a11
commit b041b0ece4
5 changed files with 226 additions and 16 deletions
+24
View File
@@ -0,0 +1,24 @@
import Vue from 'vue';
import { VueContext } from '../../../dist/vue-context';
new Vue({
components: {
VueContext
},
data: {
items: []
},
mounted () {
for (let i = 0; i < 30; i++) {
this.items.push(`Row ${i + 1}`);
}
},
methods: {
onClick (data) {
alert(data);
},
},
}).$mount('#app');