Skip to main content

Home > blockly > Theme > setComponentStyle

Theme.setComponentStyle() method

Configure a specific Blockly UI component with a style value.

Signature:

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

Parameters

ParameterTypeDescription
componentNamestringThe name of the component.
styleValueanyThe style value.

Returns:

void