Bubbling modal events to v-dialog

This commit is contained in:
euvl
2017-09-27 10:10:06 +01:00
parent 3ac104f569
commit 9bf61f5a2c
4 changed files with 53 additions and 37 deletions

View File

@@ -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')
}
},
}