onOpen and showLoading
ioer2008 opened this issue · comments
How can I call this?
onOpen: function() {
Swal.showLoading ()
}
This would likely be the most concise way.
var options = new SweetAlertOptions
{
OnOpen = new SweetAlertCallback(async () => { await Swal.ShowLoadingAsync(); }, this)
};
There's a bit more information on callback functions here.
thanks