Jenesius / vue-modal

🖖The progressive and simple modal system for Vue.js v3
https://modal.jenesius.com
MIT License
145 stars 14 forks source link

modal cannot open when give namespace #110

Closed drdevelop closed 8 months ago

drdevelop commented 8 months ago

example: ModalA.vue:

<template>
hello A
</template>

openModal(ModalA, {}, { namespace: 'test' })

drdevelop commented 8 months ago

need Initial,but i think is a bit troublesome.

drdevelop commented 8 months ago

or can give a tip?

rmp1985 commented 7 months ago

Please help me. This isn't working: const instanceModal = await pushModal(modalComponent, props, { namespace: "notification" })

But this works: const instanceModal = await pushModal(modalComponent, props)

Where am I going wrong?

I would like to add a namespace so I can later specifically close it with popModal