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 no
ModalAPI. I guess what you want is to show the
Modalas a confirmation modal. To do so you should do something like:
If you have better answer, please add a comment about this, thank you!