check

Gets or sets the checked state of the Switch.

Parameters

check Boolean

Checks or unchecks the Switch.

Returns

Boolean - The checked state of the Switch.

Example

<input id="switch" />

<script>
    var switchInstance = $("#switch").kendoSwitch().data("kendoSwitch");
    switchInstance.check(true);
</script>
In this article