MobilePicker
A picker for selecting items on a mobile app. Learn more.
Additional information about this section
Store values associated with an object
- options
Sets or gets the picker's options.
- optionsDialogSubtitle
Sets or gets the option dialog's subtitle.
- optionsDialogTitle
Sets or gets the option dialog's title.
- selectedIndices
Sets or gets the indicies of the selected options.
- value
Sets or gets the value of the selected option.
- 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.
- 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.
- 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.
Perform actions on an object
- onChange( )
Adds an event handler that runs when the mobile picker element's value is changed.
- collapse( )
Collapses the element and sets its collapsed property to true.
- expand( )
Expands the element and sets its collapsed property to false.
- hide( )
Hides the element and sets its hidden property to true.
- show( )
Shows the element and sets its hidden property to false.
- disable( )
Disables the mobile element and sets its enabled property to false.
- enable( )
Enables the mobile element and sets its enabled property to true.
- onLongPress( )
Adds an event handler that runs when the element is pressed for more than 500 milliseconds.
- onPress( )
Adds an event handler that runs when an element on a mobile app is pressed.
- onPressIn( )
Adds an event handler that runs immediately when an element on a mobile app is pressed.
- onPressOut( )
Adds an event handler that runs when an element on a mobile app is released after being pressed.