Phone API Reference - UI Extended - genericForm
genericForm
Creates a form containing various input objects. Can be used to display a settings page for an app, for example. This is a useful shortcut for creating a page with many elements, without having to manually define and position each element.
Â
Require Extended Library:Â
var genericForm = require('genericForm'); |
Methods
Name | Description |
---|---|
Returns the input object. | |
Gets the value of the specified input. Can only retrieve a value on the most recently active form that is defined by the last time generifForm.show() was called. | |
Sets the value of a specified object based on the 'setting' value you gave that object. Note: the form must be shown before setValue can be called. | |
Clears anything currently on the screen and shows the form. |