Stay organized with collections Save and categorize content based on your preferences.

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) => any) | null;