blockly > Block > decompose

Block.decompose property

An optional function that populates the mutator flyout with blocks representing this block's configuration.

Signature:

decompose?: (workspace: Workspace) => Block;