shx-3d-render
parent
2e68d8c8e1
commit
e8c9994f89
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue