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
Parameter | Type | Description |
---|---|---|
newValue | T | The value to be saved. |
Returns:
void