Ons Text Input
open class OnsTextInput(type: <Error class: unknown class> = InputType.TEXT, value: String? = null, placeholder: String? = null, floatLabel: Boolean? = null, inputId: String? = null, maxlength: Int? = null, className: String? = null, init: OnsTextInput.() -> Unit? = null)
OnsenUI text input component.
Parameters
type
text input type (default "text")
value
text input value
placeholder
the placeholder for the text input
float Label
whether the placeholder will be animated in Material Design
input Id
the ID of the input element
maxlength
maximum length of the text input
class Name
CSS class names
init
an initializer extension function