All Components

Labels

You can use the labels of the Switch to display additional information about the active or inactive options.

To focus the Switch, use the label element. You can also customize the texts of the labels by using the onLabel and offLabel properties.

<div id="vueapp" class="vue-app">
    <kendo-switch :on-label="'YES'" :off-label="'NO'"></kendo-switch>
</div>
Vue.use(InputsInstaller);

new Vue({
    el: "#vueapp"
})
In this article