[Control] passwordField

Part of: mobl::ui::generic

Arguments:

  • s : String variable/property to bind the control to.
  • placeholder : String = null placeholder text (appears when text field is empty, optional)
  • label : String = null label text (optional)
  • style : Style = textFieldStyle the style to use for the field
  • onchange : Callback = null event triggered when the text field changed and loses focus (optional).
  • onkeyup : Callback = null event triggered on every keypress (optional).

A text field control that hides its value (shows dots instead).

Example:

var password = ""
group {
  item { passwordField(password, label="Password") }
}
mobl/ui/generic/passwordfield.txt · Last modified: 2013/10/01 02:29 (external edit)