width Number|String(default: "6em")

The width of the Switch.

Example

<input id="switch" />

<script>
    $("#switch").kendoSwitch({
        width: 140
    });
</script>

The Switch options can be changed dynamically with the setOptions() method.

Example

<input id="switch" />

<script>
  $("#switch").kendoSwitch({
    width: 50
  });

  var switch = $("#switch").data("kendoSwitch")
      switch.setOptions( {
          width: 200
      })
</script>
In this article