title: How to show loading icon on sweetalert
body: <p>How can I display loading icon or spin while my during ajax call. below is my code</p>
  
  <pre><code> swal({
         title: "Confirm your transaction",
          html:true,
         showSpinner: true,
         showCancelButton: true,
          confirmButtonColor: "#DD6B55",
         confirmButtonText: "Send",
        closeOnConfirm: false
    },function () {
        $.ajax({
     type: "post",
      url: remoteUrl,
      data: largeParams,
     success: function (data) { }
    }).done(function (data) {
      swal("Thank you for your order", data, "success");
    }).error(function (data) {
    swal("Oops", "We couldn't connect to the server!", "error");
   });
  });
  </code></pre>
  
  <p>Answers will be appreciated.</p>