Load/Save indicator gif for larger documents

When loading the PDF in the viewer, I see a small red loading gif, but it is not very obvious. 

  1. How to make this indicator more obvious or use a different gif?
  2. How to add this so an indicator is displayed when the PDF is getting saved? 

PDFs are loaded and saved using base64 string approach

Thanks in advance!

Attachment: PDFViewerLoad_b082d62c.gif

1 Reply 1 reply marked as answer

VS Venkada Subramanian Durai Syncfusion Team November 18, 2025 11:23 AM UTC

Hi Jill Griggs,

Thank you for your patience. Currently, direct customization of the spinner in Syncfusion EJ2 PDF Viewer is not supported. However, this can be achieved at the application level.


To implement this, you can hide the default spinner using the following CSS:


.e-spinner-pane {
    display: none !important;
}


After hiding the default spinner, you can add a custom loader at the application level. We have prepared a sample implementation using the EJ2 ProgressBar control, which is fully customizable based on your requirements. This loader is displayed during document loading and while saving the PDF as Base64. Please find the attached sample for reference.


Feel free to reach out if you need any assistance.
 

Sample using custom loader for PDF Viewer


UG for Progress bar control


Regards,
Venkada Subramanian D

Marked as answer
Loader.
Up arrow icon