mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 18:00:20 +00:00
Bubbling modal events to v-dialog
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<demo-focus-modal/>
|
||||
<demo-size-modal/>
|
||||
|
||||
<v-dialog/>
|
||||
<v-dialog @opened="onEveryDialogOpen"/>
|
||||
|
||||
<modal name="example-modal"
|
||||
transition="nice-modal-fade"
|
||||
@@ -172,6 +172,10 @@ export default {
|
||||
}
|
||||
]
|
||||
})
|
||||
},
|
||||
|
||||
onEveryDialogOpen () {
|
||||
console.log('Opened dialog')
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user