register

inline override fun <N : Node, W : WithDomNode<N>> register(element: W, content: (W) -> Unit): W

Creates the content of the HtmlTag 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)