kotlinx.html icon indicating copy to clipboard operation
kotlinx.html copied to clipboard

Support path tag

Open ColtonIdle opened this issue 2 months ago • 0 comments

Path isn't supported. Something like

@HtmlTagMarker inline fun FlowContent.path(classes : String? = null, crossinline block : PATH.() -> Unit = {}) : Unit = PATH( attributesMapOf("class", classes), consumer).visit(block)

@Suppress("unused") open class PATH(initialAttributes : Map<String, String>, override val consumer : TagConsumer<*>) : HTMLTag("path", consumer, initialAttributes, null, false, false), HtmlBlockTag {

}

would be nice

ColtonIdle avatar Apr 17 '24 02:04 ColtonIdle