Suppose I have a customized component named 'my-component' in Angular.
Is there a method to transform this component into a HTMLElement so it can be passed to a function that requires a HTMLElement as an argument?
I am aware that the HTMLElement is sourced from the following library: lib.dom.d.ts -> located in node_modules -> typescript -> lib -> lib.dom.d.ts -> HTMLElement
Shown below is an image of the element: https://i.sstatic.net/NPlhf.png