[Control] rangeField

Part of: mobl::ui::generic

Arguments:

  • n : Num variable/property to bind the control to
  • min : Num = 0 minimum value of n
  • max : Num = 100 maximum value of n
  • step : Num = 1 step size for values
  • placeholder : String (optional) placeholder text
  • label : String (optional) label text
  • onchange : Callback (optional) triggered when the value changes

A range input control.

Support:

  • iOS5
  • Android 3

Example:

var n = 50
group {
  item { rangeField(n, min=0, max=100, step=10) }
}
mobl/ui/generic/rangefield.txt · Last modified: 2013/10/01 02:29 (external edit)