Home > blockly > Block > loadExtraState
Block.loadExtraState property
An optional serialization method for defining how to deserialize the block's extra state (eg mutation state) from something JSON compatible. This must be coupled with defining saveExtraState.
Signature:
loadExtraState?: (p1: any) => void;