{
  "widget": {
    "name": "SwitchButton",
    "selector": "jqx-switch-button"
  },
  "properties": [
    {
      "name": "clickMode",
      "value": "release",
      "allowedValues": [ "press", "release", "pressAndRelease" ],
      "description": "Sets the click mode of the switch button. This property is active only when switchMode is 'click'.",
      "demoValues": [ "press", "pressAndRelease" ],
      "type": "string"
    },
    {
      "name": "checked",
      "value": false,
      "allowedValues": [],
      "description": "Sets or gets the check state.",
      "demoValues": [ true, false ],
      "type": "boolean"
    },
    {
      "name": "disabled",
      "value": false,
      "allowedValues": [],
      "description": "Enables or disables the ratio button.",
      "demoValues": [ true, false ],
      "type": "boolean"
    },
    {
      "name": "falseContent",
      "value": "\"\"",
      "allowedValues": [],
      "description": "Sets the text representation of checked=false state.",
      "demoValues": [ "OFF", "False" ],
      "type": "string"
    },
    {
      "name": "indeterminate",
      "value": false,
      "allowedValues": [],
      "description": "Sets or gets indeterminate state of the switch.",
      "demoValues": [ true, false ],
      "type": "boolean"
    },
    {
      "name": "inverted",
      "value": false,
      "allowedValues": [],
      "description": "Sets the direction of switchin. If is true - positions of the switch states are changed.",
      "demoValues": [ true, false ],
      "type": "boolean"
    },
    {
      "name": "name",
      "value": "\"\"",
      "allowedValues": [],
      "description": "Sets or gets the widget's name.",
      "demoValues": [ "Name", "New Name" ],
      "type": "string"
    },
    {
      "name": "orientation",
      "value": "horizontal",
      "allowedValues": [ "horizontal", "vertical" ],
      "description": "Sets the orientation of the switch",
      "demoValues": [ "vertical", "horizontal" ],
      "type": "string"
    },
    {
      "name": "readonly",
      "value": false,
      "allowedValues": [],
      "description": "If the custom element is readonly, it cannot be interacted with.",
      "demoValues": [ true, false ],
      "type": "boolean"
    },
    {
      "name": "trueContent",
      "value": "\"\"",
      "allowedValues": [],
      "description": "Sets the text representation of checked=true state.",
      "demoValues": [ "ON", "True" ],
      "type": "string"
    },
    {
      "name": "switchMode",
      "value": "drag",
      "allowedValues": [ "drag", "click" ],
      "description": "Sets the orientation of the switch",
      "demoValues": [ "click", "drag" ],
      "type": "string"
    },
    {
      "name": "value",
      "value": "\"\"",
      "allowedValues": [],
      "description": "Sets or gets the widget's value.",
      "demoValues": [ "Value", "New Value" ],
      "type": "string"
    }
  ],
  "events": [
    {
      "name": "change",
      "description": "This event is triggered when the widget is checked/unchecked."
    }
  ]
}