blockly > BlockSvg > addClass

BlockSvg.addClass() method

Add a CSS class to the SVG group of this block.

Signature:

addClass(className: string): void;

Parameters

Parameter Type Description
className string

Returns:

void