vue-final / vue-final-modal

🍕Vue Final Modal is a tiny, renderless, mobile-friendly, feature-rich modal component for Vue.js.
https://vue-final-modal.org
MIT License
903 stars 97 forks source link

How to use params in modalId #370

Closed yu-chan-901 closed 10 months ago

yu-chan-901 commented 1 year ago

In my use case, I want to use modalId to differentiate multiple dialogs within the same component. I would like to pass params during this process. The Migration Guide suggests using useModal(), but I'm unsure how to use modalId in this case.

hunterliu1003 commented 1 year ago

With useModal(), you don't need modalId anymore