Skip to main content

Home > blockly > Field > doValueUpdate_

Field.doValueUpdate_() method

Used to update the value of a field. Can be overridden by subclasses to do custom storage of values/updating of external things.

Signature:

protected doValueUpdate_(newValue: T): void;

Parameters

ParameterTypeDescription
newValueTThe value to be saved.

Returns:

void