messages Object

Defines the text of the checked and unchecked labels that are displayed within the Switch. All labels support localization.

The messages property is applicable only for the Default and Classic themes. All other themes, by design, do not show checked and unchecked messages.

Example

<input id="switch" />

<script>
    $("#switch").kendoSwitch({
        messages: {
            checked: "on",
            unchecked: "off"
        }
    });
</script>
In this article