MobileTextInput
A text input element for capturing small amounts of text on a mobile app. Learn more.
Additional information about this section
Store values associated with an object
- placeholder
Sets or gets the input element's placeholder text.
- id
Gets the mobile element's ID.
- parent
Gets the mobile element's parent element.
- type
Gets the mobile element's type.
- label
Sets or gets the label of an element.
- validateOnBlur
Sets or gets whether to validate the mobile element when it loses focus.
- valid
Indicates if an input element's value is valid.
- validateOnChange
Sets or gets whether to validate the mobile element when its value changes.
- validateOnStart
Sets or gets whether to validate the mobile element when it is loaded.
- validations
Sets or gets the validations for mobile elements in a form.
- value
Sets or gets an element's value.
- collapsed
Indicates if the element is collapsed or expanded.
- hidden
Indicates if the element is visible or hidden.
- isVisible
Indicates if the element is actually visible.
- enabled
Indicates if the mobile element is enabled or disabled.
The endpoints exposed by this API
Adds an event handler that runs when an input element's value is changed.
Collapses the element and sets its collapsed property to true.
Expands the element and sets its collapsed property to false.
Hides the element and sets its hidden property to true.
Shows the element and sets its hidden property to false.
Disables the mobile element and sets its enabled property to false.
Enables the mobile element and sets its enabled property to true.