init
abstract fun TagContext.init(element: HTMLElement, shadowRoot: ShadowRoot): Tag<T>
Content copied to clipboard
this method builds the content of the WebComponent that will be added to it's shadow-DOM.
Return
a Tag representing the content of the component
Parameters
element
the newly created element, when the component is used
shadowRoot
the shadowRoot the content will be added to