Skip to main content

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

ParameterTypeDescription
stateanyThe state we want to apply to the field.

Returns:

void