returns the current value of the control
number | the current value of the control |
webix.ui({
view:"toggle",
type:"icon",
id: "mytoggle",
offLabel:"Disabled",
onLabel:"Enabled"
});
$$("mytoggle").getValue() // returns 0
The method returns: