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
915 stars 99 forks source link

How to use params in modal script #309

Closed odion-cloud closed 1 year ago

odion-cloud commented 1 year ago

i want to use modal params not only in template but also in script tag of modal How do I use it

hunterliu1003 commented 1 year ago

@odion-cloud

Sorry I think params is not a good practice for managing a modal, so it was removed in vue-final-modal@4.x. And currently I recommend to upgrade to vue-final-modal@4.x and use useModal() to manage dynamic modals. Please checkout the migration guide and useModal()