mirror of
https://github.com/tenrok/vue-context.git
synced 2026-06-11 02:02:23 +03:00
Test event emitting
This commit is contained in:
+10
-2
@@ -12,7 +12,15 @@ new Vue({
|
||||
|
||||
methods: {
|
||||
onClick (data) {
|
||||
console.log(data);
|
||||
// console.log(data);
|
||||
},
|
||||
|
||||
onClose () {
|
||||
console.log('closing');
|
||||
},
|
||||
|
||||
onOpen (event, data, top, left) {
|
||||
console.log(data, top, left);
|
||||
}
|
||||
},
|
||||
}).$mount('#app');
|
||||
}).$mount('#app');
|
||||
|
||||
Reference in New Issue
Block a user