custom

open fun custom(tagName: String, baseClass: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, content: HtmlTag<Element>.() -> Unit): HtmlTag<Element>

Creates a custom HtmlTag with the provided content.

Return

custom HtmlTag

Parameters

tagName

Name of the HtmlTag in DOM

content

content scope for inner HtmlTags