custom

open fun custom(tagName: String, content: RenderContext.() -> Unit): RenderContext

Creates a custom Tag with the provided content.

Return

custom Tag of type HTMLElement

Parameters

content

content scope for inner Tags

tagName

Name of the Tag in DOM