switchToggle
fun <CT : HTMLElement> RenderContext.switchToggle(classes: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<CT>>, content: Tag<CT>.() -> Unit): Tag<CT>
Factory function to create a switchToggle.
For more information refer to the official documentation
fun RenderContext.switchToggle(classes: String? = null, scope: ScopeContext.() -> Unit = {}, content: Tag<HTMLButtonElement>.() -> Unit): Tag<HTMLButtonElement>
Factory function to create a switchToggle with a HTMLButtonElement as default Tag.
For more information refer to the official documentation