mirror of
https://github.com/tenrok/vue-context.git
synced 2026-06-18 16:30:33 +03:00
Update test files
This commit is contained in:
@@ -9,6 +9,7 @@ new Vue({
|
||||
|
||||
data: {
|
||||
close: true,
|
||||
closeCount: 0,
|
||||
items: [
|
||||
'Cras justo odio',
|
||||
'Dapibus ac facilisis in',
|
||||
@@ -20,7 +21,12 @@ new Vue({
|
||||
|
||||
methods: {
|
||||
onClick (text) {
|
||||
alert(text);
|
||||
// alert(text);
|
||||
},
|
||||
|
||||
onClose() {
|
||||
console.log('close fired');
|
||||
console.log(++this.closeCount);
|
||||
},
|
||||
},
|
||||
}).$mount('#app');
|
||||
|
||||
Reference in New Issue
Block a user