Phone API Reference - UI Extended Classes - SelectInput
SelectInput
Combines a variety of core objects to create a simple control that is analgous to a web browser's select input (dropdown). Allows the user to open a new screen and scroll through a list of options. Recommended for large lists.
Require Extended Library:
|
Class Constructor
new SelectInput()
Creates a new SelectInput object.
|
Initialization Parameters
...
This extended class is not a child of base widget, so it cannot be added directly to the screen. Access the textWidget property to add or remove it from the screen. This extended class requires the 'app' library , and it must be initialized with an init function.
Methods
Name | Description |
---|---|
Sets the value of the object to one of the possible options | |
Gives the selected widget keyboard focus. Calling this method triggers the object's onFocus handler to be called, which must return true to take focus. |
...