Skip to content

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

@ikrishagarwal

Description

@ikrishagarwal

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions