You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a 3-question swal.mixin() queue, tweaked from the example in the documentation. I've set the cancelButtonText value to "Skip" but I haven't been able to find a way to suppress the actual closing of the dialog when the cancel button is pressed. I was playing with an aysnc example that allows you to go backward and forward, but it would be very nice to have a way to suppress the close action and run a function instead.
I've found answers that say to use altActionButton but it doesn't appear to be in sweetalert2 anymore. Likewise, buttons appears to be phased out from v1.
Also, it would be nice if we could run something like swal.goToInQueue(positionIndex) from within this function where the dialog close action has been suppressed.
Thanks for a great plugin! Cheers!
The text was updated successfully, but these errors were encountered:
New feature motivation
I have a 3-question
swal.mixin()
queue, tweaked from the example in the documentation. I've set thecancelButtonText
value to "Skip" but I haven't been able to find a way to suppress the actual closing of the dialog when the cancel button is pressed. I was playing with an aysnc example that allows you to go backward and forward, but it would be very nice to have a way to suppress the close action and run a function instead.I've found answers that say to use
altActionButton
but it doesn't appear to be in sweetalert2 anymore. Likewise,buttons
appears to be phased out from v1.Also, it would be nice if we could run something like
swal.goToInQueue(positionIndex)
from within this function where the dialog close action has been suppressed.Thanks for a great plugin! Cheers!
The text was updated successfully, but these errors were encountered: