blockly > Block > domToMutation
Block.domToMutation property
An optional deserialization method for defining how to deserialize the mutation state from XML. This must be coupled with defining mutationToDom
.
Signature:
domToMutation?: (p1: Element) => void;