dist/lemurro.js
function showLoading() {
  var popup = getPopup();

  if (!popup) {
    Swal('');
  }

  popup = getPopup();
  var actions = getActions();
  var confirmButton = getConfirmButton();
  var cancelButton = getCancelButton();
  show(actions);
  show(confirmButton);
  addClass([popup, actions], swalClasses.loading);
  confirmButton.disabled = true;
  cancelButton.disabled = true;
  popup.setAttribute('data-loading', true);
  popup.setAttribute('aria-busy', true);
  popup.focus();
}
function showLoading() {
  var popup = getPopup();

  if (!popup) {
    Swal('');
  }

  popup = getPopup();
  var actions = getActions();
  var confirmButton = getConfirmButton();
  var cancelButton = getCancelButton();
  show(actions);
  show(confirmButton);
  addClass([popup, actions], swalClasses.loading);
  confirmButton.disabled = true;
  cancelButton.disabled = true;
  popup.setAttribute('data-loading', true);
  popup.setAttribute('aria-busy', true);
  popup.focus();
}
function showLoading ( ) { var popup = getPopup ( ) ; if ( ! popup ) { Swal ( '' ) ; } popup = getPopup ( ) ; var actions = getActions ( ) ; var confirmButton = getConfirmButton ( ) ; var cancelButton = getCancelButton ( ) ; show ( actions ) ; show ( confirmButton ) ; addClass ( [ popup , actions ] , swalClasses . loading ) ; confirmButton . disabled = true ; cancelButton . disabled = true ; popup . setAttribute ( 'data-loading' , true ) ; popup . setAttribute ( 'aria-busy' , true ) ; popup . focus ( ) ; }
Show spinner instead of Confirm button and disable Cancel button
Show spinner instead of Confirm button and disable Cancel button