Skip to content

Commit

Permalink
Add events emitted by OverlayPanel
Browse files Browse the repository at this point in the history
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 emits
  • Loading branch information
shadoWalker89 committed Sep 9, 2021
1 parent 221a3f8 commit 0a60125
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/overlaypanel/OverlayPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export default {
default: null
}
},
emits: ['show', 'hide'],
data() {
return {
visible: false
Expand Down

0 comments on commit 0a60125

Please sign in to comment.