We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to stop the spinner when a bad request error appears


I was wondering how I can stop the spinner after throwing an error like bad request error. Is there a possibility to do it?

Thanks all.

1 Reply

VY Vinothkumar Yuvaraj Syncfusion Team October 12, 2022 12:12 PM

Hi Henrique Giaretta,

Greetings from Syncfusion support.

You can able to stop the spinner using hideSpinner public method. In the below sample, we have rendered the Spinner inside the container div element and stop the spinner using hideSpinner method.

Documentation https://ej2.syncfusion.com/javascript/documentation/spinner/es5-getting-started/

Sample : https://stackblitz.com/edit/dmrohv-3cioht?file=index.html,index.js

Best Regards,


Live Chat Icon For mobile
Up arrow icon