title: How to show a loading icon using fancy box 3 library
body: <p>I am using the latest fancybox 3 library. I am trying to show a loading icon. I have gone through the docs(<a href="https://fancyapps.com/fancybox/3/docs/" rel="nofollow noreferrer">https://fancyapps.com/fancybox/3/docs/</a>) but it didn't help me much. I see a couple of methods like showLoading() and hideLoading() but its throwing errors in the browser console like they are not functions.</p>
  
  <p>With the old fancybox lib i.e. fancybox 1 I was able to do it by directly calling the functions. Could someone please help me with the latest library ?</p>