onsText

fun <Error class: unknown class>.onsText(type: <Error class: unknown class> = InputType.TEXT, value: String? = null, placeholder: String? = null, floatLabel: Boolean? = null, name: String? = null, maxlength: Int? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsText.() -> Unit? = null): OnsText

DSL builder extension function.

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