returns the current value of the control
number | the current value of the control |
webix.ui({
padding:20,
width:400,
rows:[
{ type:"section", template:"Settings"},
{ view: "switch", id: "myswitch", value: true, label:"Sound"},
]
});
$$("myswitch").getValue(); // returns 1
The returned value of the control may be: