blockly > WorkspaceSvg > addClass
WorkspaceSvg.addClass() method
Adds a CSS class to the workspace.
Signature:
addClass(className: string): void;
Parameters
Parameter | Type | Description |
|---|---|---|
className | string | Name of class to add. |
Returns:
void
blockly > WorkspaceSvg > addClass
Adds a CSS class to the workspace.
Signature:
addClass(className: string): void;
Parameter | Type | Description |
|---|---|---|
className | string | Name of class to add. |
Returns:
void