Hi Omar,
Syncfusion Greetings!
For your convenient, we have prepared sample to create spinner in DocumentEditor. In below sample, we have used it in export API(line no: 67 & 69). You can use it based on your requirement.
1. You have to create div for spinner.
2. Have to create spinner using below code snippet:
|
createSpinner({
// Specify the target for the spinner to show
target: document.getElementById('spinner')
}); |
3. Show hide using below code snippet:
|
showSpinner(document.getElementById('spinner'));
hideSpinner(document.getElementById('spinner')); |
Please let us know if you have any questions.
Regards,
Suriya M.