dist/lemurro.js
function hideLoading() {
  var innerParams = privateProps.innerParams.get(this);
  var domCache = privateProps.domCache.get(this);

  if (!innerParams.showConfirmButton) {
    hide(domCache.confirmButton);

    if (!innerParams.showCancelButton) {
      hide(domCache.actions);
    }
  }

  removeClass([domCache.popup, domCache.actions], swalClasses.loading);
  domCache.popup.removeAttribute('aria-busy');
  domCache.popup.removeAttribute('data-loading');
  domCache.confirmButton.disabled = false;
  domCache.cancelButton.disabled = false;
}
function hideLoading() {
  var innerParams = privateProps.innerParams.get(this);
  var domCache = privateProps.domCache.get(this);

  if (!innerParams.showConfirmButton) {
    hide(domCache.confirmButton);

    if (!innerParams.showCancelButton) {
      hide(domCache.actions);
    }
  }

  removeClass([domCache.popup, domCache.actions], swalClasses.loading);
  domCache.popup.removeAttribute('aria-busy');
  domCache.popup.removeAttribute('data-loading');
  domCache.confirmButton.disabled = false;
  domCache.cancelButton.disabled = false;
}
function hideLoading ( ) { var innerParams = privateProps . innerParams . get ( this ) ; var domCache = privateProps . domCache . get ( this ) ; if ( ! innerParams . showConfirmButton ) { hide ( domCache . confirmButton ) ; if ( ! innerParams . showCancelButton ) { hide ( domCache . actions ) ; } } removeClass ( [ domCache . popup , domCache . actions ] , swalClasses . loading ) ; domCache . popup . removeAttribute ( 'aria-busy' ) ; domCache . popup . removeAttribute ( 'data-loading' ) ; domCache . confirmButton . disabled = false ; domCache . cancelButton . disabled = false ; }
Enables buttons and hide loader.
Enables buttons and hide loader .