type

the type of the button

string type;

Values

  • text
    set by default
  • password
  • email
  • url
  • Example

    { view:"button", id:"button1", type:"icon", icon:"wxi-pencil", label: "Button"}

    Details

    The parameter can take only one of a predefined set of values.

    'Password' type ensures that input symbols are displayed as asterisks while 'email' and 'url' are vidal for HTML5 input data validation.

    See also
  • Articles
  • Back to top