Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
mounted () {
this.mdcDialog = MDCDialog.attachTo(this.$el)
this.mdcDialog.autoStackButtons = this.stacked
this.mdcDialog.escapeKeyAction = this.escapeKeyAction
this.mdcDialog.scrimClickAction = this.scrimClickAction
this.slotObserver = new MutationObserver(() => this.updateSlots())
this.slotObserver.observe(this.$el, {
childList: true,
subtree: true
})
this.updateSlots()
},
beforeDestroy () {