Webcomponent support in SweetHome3D JS

by jogibear9988 » Thu Oct 26, 2023 5:40 pm

I'd like to use SweetHome3D in a webcomponent. But the viewHome function requires a element id. Would it be possible, if I use a HTMLElement as a parameter instead of a string, you use the compoent you get hand over, instead of search yourself for the component.
So it could be use inside of a webcomponent?