blockly > blockRendering > PathObject > updateReplacementFade

blockRendering.PathObject.updateReplacementFade() method

Add or remove styling that shows that if the dragging block is dropped, this block will be replaced. If a shadow block, it will disappear. Otherwise it will bump.

Signature:

updateReplacementFade(enable: boolean): void;

Parameters

Parameter Type Description
enable boolean True if styling should be added.

Returns:

void