blockly > Theme > setComponentStyle

Theme.setComponentStyle() method

Configure a specific Blockly UI component with a style value.

Signature:

setComponentStyle(componentName: string, styleValue: any): void;

Parameters

Parameter Type Description
componentName string The name of the component.
styleValue any The style value.

Returns:

void