Labels

The Switch enables you to control the title of its labels.

To set the behavior of the labels, use the onLabel and offLabel properties, which accept string parameters. Note that the Switch does not support long custom labels.

@Component({
    selector: 'my-app',
    template: `
        <kendo-switch
          [(ngModel)]="checked"
          [onLabel]="'I'"
          [offLabel]="'O'"
        ></kendo-switch>
    `
})

class AppComponent {
    public checked: boolean = false;
}

In this article