Hello,
How can trigger a modal using function in Metronic VueJS?
Before, I used $("#modal_id").toggle(); but new version of Metronic isn't supporting jQuery.
I can't open modal using button attribute because I want to pass data to it, and show modal once data was loaded by get and transferred to modal
Hi,
As Metronic 8 uses Bootstrap 5, please refer to the Bootstrap 5 Modal API documentation here.
The Modal API method you are using is for Bootstrap 4 Modal.
Regards.