kvision / pl.treksoft.kvision.html / customTag

customTag

(js) fun Container.customTag(elementName: String, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, attributes: Map<String, String> = mapOf(), init: (CustomTag.() -> Unit)? = null): CustomTag

DSL builder extension function.

It takes the same parameters as the constructor of the built component.