switchDescription

fun <CL : HTMLElement> RenderContext.switchDescription(classes: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<CL>>, content: Tag<CL>.() -> Unit): Tag<CL>

Factory function to create a switchDescription.

For more information refer to the official documentation


fun RenderContext.switchDescription(classes: String? = null, scope: ScopeContext.() -> Unit = {}, content: Tag<HTMLSpanElement>.() -> Unit): Tag<HTMLSpanElement>

Factory function to create a switchDescription with a HTMLSpanElement as default Tag.

For more information refer to the official documentation