// event handlers that will be executed at most once
Swal.once('didRender', (popup) => ...)
Swal.once('willOpen', (popup) => ...)
Swal.once('didOpen', (popup) => ...)
Swal.once('willClose', (popup) => ...)
Swal.once('didClose', () => ...)
Swal.once('didDestroy', () => ...)
// remove handlers
Swal.off('willOpen', willOpenHandler) // a specific handler
Swal.off('willOpen') // all handlers of a specific event
Swal.off() // all handlers for all events
add global events .on().off().once() (#2763) (60dabc1)
Kudos to @getify for requesting and participation in implementing this feature ❤️
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps sweetalert2 from 11.12.3 to 11.14.1.
Release notes
Sourced from sweetalert2's releases.
... (truncated)
Changelog
Sourced from sweetalert2's changelog.
Commits
87d5bde
chore(release): 11.14.1 [skip ci]eb16ab3
fix: avoid using deprecated sass lighten function (#2767)76f2afd
chore(release): 11.14.0 [skip ci]60dabc1
feat: add global events.on()
.off()
.once()
(#2763)e9d442d
chore: remove vlixa from sponsors16310af
chore(release): 11.13.3 [skip ci]e783864
fix: checkbox label = inputPlaceholder || inputLabel (#2761)401b7bb
chore(release): 11.13.2 [skip ci]55bdf07
fix: add transform-optional-chaining and transform-class-properties babel plu...270baa7
fix: set babel browser targets to default targets (#2759)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show