switchLabel

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

Factory function to create a switchLabel.

For more information refer to the official documentation


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

Factory function to create a switchLabel with a HTMLLabelElement as default Tag.

For more information refer to the official documentation