Skip to content
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

Alert Callback when the user clicks the close button. #4

Open
ikrishagarwal opened this issue Nov 12, 2020 · 0 comments
Open

Alert Callback when the user clicks the close button. #4

ikrishagarwal opened this issue Nov 12, 2020 · 0 comments

Comments

@ikrishagarwal
Copy link

ikrishagarwal commented Nov 12, 2020

I have a bug that when i call a function when the alert is closed for two different alerts separately it calls both the function then.
(The second alert is the child of the callback function of first alert)

Suggestion :- You can return a promise so that rest things can be written inside .then()

(If you want to check my code the i have commented it in your solo learn documentation.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant