blockly > FieldCheckbox > doValueUpdate_

FieldCheckbox.doValueUpdate_() method

Update the value of the field, and update the checkElement.

Signature:

protected doValueUpdate_(newValue: BoolString): void;

Parameters

Parameter Type Description
newValue BoolString The value to be saved. The default validator guarantees that this is a either 'TRUE' or 'FALSE'.

Returns:

void