shx-3d-render

main
Jan Umbach 2024-06-23 14:47:41 +02:00
parent 2e68d8c8e1
commit e8c9994f89
1 changed files with 8 additions and 0 deletions

View File

@ -69,6 +69,12 @@
} }
show() { show() {
if(this.isLoading) {
return;
}
this.isLoading = true;
if(this.hideTimeout) { if(this.hideTimeout) {
clearTimeout(this.hideTimeout); clearTimeout(this.hideTimeout);
} }
@ -81,6 +87,8 @@
} }
hide() { hide() {
this.isLoading = false;
this.container.classList.add('shx-loading-spinner-container-done'); this.container.classList.add('shx-loading-spinner-container-done');
if (this.hideTimeout) { if (this.hideTimeout) {