Question:
i have my simple code snippet and i’m trying to run but I’m getting the error ” Uncaught TypeError: confirm is not a function“Answer:
There is noconfirm
option on Modal
API. I guess what you want is to show the Modal
as a confirmation modal. To do so you should do something like:If you have better answer, please add a comment about this, thank you!