[BREAKING] Get rid of .queue(), .getQueueStep(), .insertQueueStep(), . deleteQueueStep()
See original GitHub issueCurrent behavior
The .queue()
method was introduced a log time ago in https://github.com/sweetalert2/sweetalert2/pull/165
In v11 the IE11 support will be dropped and all modern browsers support async/await
: https://caniuse.com/?search=await
async/await
can perfectly replace all use-cases of .queue()
and therefore there’s no need in that old burden anymore.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
sweetalert2 - npm
Argument Default value Description
target 'body' The container element for adding modal into.
padding 20 Modal window padding.
background '#fff' Modal window background (CSS background property)....
Read more >sweetalert2/sweetalert2 v11.0.0 on GitHub - NewReleases.io
Breaking change # 2 - .queue() , .getQueueStep() , .insertQueueStep() , .deleteQueueStep() methods are REMOVED.
Read more >Sweet Alert Padding Issue - JSFiddle - Code Playground
customClass&&D(e,t.customClass);var E=q(),j=parseInt(null===t.currentProgressStep?k.getQueueStep():t.currentProgressStep,10);t.progressSteps.length?
Read more >welearn - 小染`` - 博客园
(function (global, factory) { true ? module.exports = factory() ... for getting the index of current popup in queue */ var getQueueStep ......
Read more >【叮叮助手】百度网盘工具箱直链解析 - Greasy Fork
__esModule ? function getDefault() {; return module.default;; } ... function applyToSingletonTag(style, index, remove, obj) {; var css = remove ?
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
for anyone else looking for an answer to this question this works:
The docs [1] show these options - these are no longer available?
progressSteps [] Progress steps, useful for queues.
currentProgressStep undefined Current active progress step.
progressStepsDistance undefined
[1] https://sweetalert2.github.io/#configuration
EDIT: I see one referenced just recently: https://github.com/sweetalert2/sweetalert2/pull/2437 So how should these be used?