Edit this page


Fires when the state of the widget changes

Event Data

e.checked Object

The checked state of the widget.

Handle mobile Switch change event

<div id="foo" data-role="view">
  <input id="switch" type="checkbox" data-role="switch" data-change="onChange" />

var app = new kendo.mobile.Application();

function onChange(e) {
  console.log(e.checked);//true of false
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article