8000
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.
2 parents abdd1e5 + e6f2666 commit 08a4a31Copy full SHA for 08a4a31
components/modal.vue
@@ -68,7 +68,7 @@
68
this._modalAnimatio 9557 n = 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