3d-viewer test

main
Jan Umbach 2024-06-14 11:05:53 +02:00
parent 6987303d58
commit b6243efbab
1 changed files with 3 additions and 5 deletions

View File

@ -102,7 +102,7 @@
this.innerHTML = '<div class="shx-input-forms-container"><div class="shx-input-forms-content"></div></div>';
this.container = this.querySelector('.shx-input-forms-container');
this.container.style.height = '0px';
this.content = this.container.querySelector('.shx-input-forms-content');
this.Viewer3D = document.createElement('iframe');
@ -157,10 +157,8 @@
if(openAnimation) {
// calculate of this height
let height = this.container.offsetHeight;
container.style.height = 'auto';
let height = container.offsetHeight;
container.style.height = '0px';
function animate() {