Hi Markus Hajek,
Thanks for contacting Syncfusion support.
Query1:” But when I am using SF Essential JS2, the stacktrace looks, for example, like in the attached screenshot. Most of the stacktrace points to spinner.js:430 although clearly methods like changeLanguage and setLng are not part of spinner, but of the internationalization framework I use (i18next).This is highly annoying because it makes it extremely difficult to find the actual cause of certain problems in my own code-base.Is there any way to disable this or Spinner altogether temporarily?”
We have also tried a sample with the Aurelia CLI and we couldn't proceed with provided information. Hence we request you to provide the below sufficient details to reproduce the issue in our end
· Whether you are integrated spinner with any of our other EJ2 component? If so please let us know that component?
· What are the components that you are used from Essential JS2 in your application?
· If possible, please share us an issue reproducible sample to validate from our side.
· What is the exact EJ2 version that you are using in your project?
Query2:” As an aside, the documentation does not say very much about spinner, basically just how to customize it.
How would one show/hide it manually, independent of any other SF components?”
Since we didn’t expose the Spinner utility as public usage and it is used only with internal components of ours like grid, dropdown list. So we added documentation for customization internal components with spinner. You can use the spinner utility with the methods createSpinner to create spinner to the page. In this method, you can also set the target for the spinner and then you can show and hide this spinner by using showSpinner and hideSpinner methods. We have prepared a simple demo for this Spinner loading in a form and we will improve the documentation by exposing public methods.
|
import { createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';
createSpinner({
target: document.getElementById('container');
});
showSpinner(document.getElementById('container'));
hideSpinner(document.getElementById('container')); |
Please find the below Spinner getting started UG for more reference.
Please check the shared information and let us know if you need any further assistance.
Regards,
Arun P.