getValue

returns the current value of the control

number getValue();
numberthe current value of the control

Example

webix.ui({
  view:"checkbox",
  id: "mycb",
  label:"Tips"
});
 
$$("mycb").getValue(); // returns the current value

Details

The method returns:

  • 0 - checkbox is unchecked
  • 1 - checkbox is checked
See also
Back to top