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 theDefault
andClassic
themes. All other themes, by design, do not showchecked
andunchecked
messages.
Example
<input id="switch" />
<script>
$("#switch").kendoSwitch({
messages: {
checked: "on",
unchecked: "off"
}
});
</script>