-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Close sweetalert #58
Comments
Yes, I want to know this as well. I upgraded from 1.5 to 2.0.5 and now close does not work. We initially had:
And then once the save was finished we would call:
Since the update, now I get the error:
|
This is because sweetalert2 v.8 changed their API. |
Understood. I get we are all busy and I thank you for your time to get us this far. Do you have a guestimate of when you will be able to get the time? |
Please don't close the issue. Let it be open. It will keep you posted that this is a good feature to be included in the plugin. |
@neelbhanushali - I installed the 2.1.0 (the latest) and it works as it should again with the following code to use javascript to close a popup.
|
I shall update the plugin. Thanks @Grandizer @avil13 |
I checked after updating the plugin. It works. @avil13 you can close this issue. :) |
Thank you all |
Not working for me on 3.0.6 version, it throws the same error and doesn't let me close it programmatically. |
@jonalxh Same here, Did you find solution? |
@elguja No, I've just downgraded it to 3.0.3. |
You should import like this first
Then you can close sweetalert in js like this.
|
How do you close a sweetalert using js?
The text was updated successfully, but these errors were encountered: