title: Disable Confirm Button conditionally in sweetalert
body: <p>In one of my code I am using javascript sweet alert library:</p>
  
  <p><a href="https://limonte.github.io/sweetalert2/" rel="nofollow noreferrer">https://limonte.github.io/sweetalert2/</a></p>
  
  <p><a href="https://github.com/limonte/sweetalert2" rel="nofollow noreferrer">https://github.com/limonte/sweetalert2</a></p>
  
  <p>I want to disable Confirm Button conditionally, but not able to find such property in documentation yet. </p>
  
  <p>Have anyone used this? </p>
  
  <p>PS: In documentation I found <code>swal.disableConfirmButton()</code> method but while using the same Angular throws an error </p>
  
  <pre><code>__WEBPACK_IMPORTED_MODULE_7_sweetalert2___default.a.disableConfirmButton is not a function
  </code></pre>