onsSwitchInput

fun Container.onsSwitchInput(value: Boolean = false, inputId: String? = null, className: String? = null, init: OnsSwitchInput.() -> Unit? = null): OnsSwitchInput

DSL builder extension function.

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