register

open override fun <E : Element, W : WithDomNode<E>> register(element: W, content: (W) -> Unit): W

Creates the content of the Tag and appends it as a child to the wrapped Element.

Parameters

element

the parent element of the new content

content

lambda building the content (following the type-safe-builder pattern)