Skip to content

Commit

Permalink
feat: Event popup status (open nd close)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktquez committed Jun 21, 2020
1 parent fd65e8f commit aa8deab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SocialChat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export default {
methods: {
togglePopup () {
this.show = !this.show
this.show ? this.$emit('open') : this.$emit('close')
if (!this.show) return
this.focusFirstLink()
},
Expand Down

0 comments on commit aa8deab

Please sign in to comment.