Home > blockly > BlockSvg > setMutator
BlockSvg.setMutator() method
Give this block a mutator dialog.
Signature:
setMutator(mutator: MutatorIcon | null): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| mutator | MutatorIcon | null | A mutator dialog instance or null to remove. |
Returns:
void