Home > blockly > Field > loadState
Field.loadState() method
Sets the field's state based on the given state value. Should only be called by the serialization system.
Signature:
loadState(state: any): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| state | any | The state we want to apply to the field. |
Returns:
void