I have configured custom element (native- not angular/ionic component with shadow root), but ionic elements ( for example icons/ ion-spinner) , does not recognized inside me custom element.
On chrome devTools, when debugging I can see the elements with his shadow root, there are not any errors, but the ionic elements just not there.
More important details:
My custom elements is configured in a java script file located on assets folder. This file is included on my index.html file. When using this custom element tag inside my component html-> the ionic elements does not recognized, when placing the ionic elements inside the component html directly (not inside the custom element) , it is working.
I need to be able to wrap some other code that might be written in other framework/languages in order it to be more generic. Is this something that possible ?
I understand. But my app is some of development environment, so I need to be able to get other components/code written in other languages and just to wrap them with my custom elements.
Maybe it is not the best/right way, but it could be possible in some way?
If you’re talking about JavaScript and html, I did a video a while back which shows you how to interact with some html, for completely different reasons, just a simple rich text editor.
Should give you pointers, in particular if you look at the git repo.
Thanks.
But it is written as ionic/angular component.
My custom element is written in native way and not as ionic/angular component , also located on external js file that included on the html file.