blockly > Block > compose

Block.compose property

An optional method that reconfigures the block based on the contents of the mutator dialog.

Signature:

compose?: (rootBlock: Block) => void;