We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abdd1e5 commit e6f2666Copy full SHA for e6f2666
components/modal.vue
@@ -68,7 +68,7 @@
68
this._modalAnimation = setTimeout(() => {
69
_this._body.classList.add('modal-open');
70
_this.animateModal = true;
71
- _this.$root.$emit('shown::modal')
+ _this.$root.$emit('shown::modal', this.id)
72
}, (_this.fade) ? TRANSITION_DURATION : 0)
73
}, 0)
74
},
@@ -83,7 +83,7 @@
83
_this._body.classList.remove('modal-open');
84
// no hide the modal wrapper
85
_this.$el.style.display = 'none';
86
- _this.$root.$emit('hidden::modal')
+ _this.$root.$emit('hidden::modal', this.id)
87
88
89
0 commit comments