Add events emitted by OverlayPanel
This PR adds the emits: ['show', 'hide'] to OverlayPanel component. Without these vue will throw warnings in the console Also in vue js docs, they encourage to add the emitspull/1529/head
parent
221a3f827d
commit
0a601257de
|
@ -51,6 +51,7 @@ export default {
|
||||||
default: null
|
default: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
emits: ['show', 'hide'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
visible: false
|
visible: false
|
||||||
|
|
Loading…
Reference in New Issue