Docs
API
  • type

    String

    Item type.

    Possible values: button, checkbox, combo, date, number, segbutton, string, switcher, text.

    Example

    
    {
      type: 'button',
      text: 'Add',
      handler: function(){}
    }
    

    Default

    
    'button'