fires on checking/unchecking a checkbox element
id | string|number | the id of a checkbox element |
state | boolean | true for the checked state, false for the unchecked one |
webix.ui({
view:"property", id:"sets", width:300,
elements:[
{label:"Layout", type:"label"},
{label:"Width", type:"text", id:"width", value:250},
{label:"Height", type:"text", id:"height", value:380},
{label:"Use JSONP", type:"checkbox", id:"jsonp"}
]
});
$$("sets").attachEvent("onCheck",function(id,state){console.log(id,state)});