Stay organized with collections Save and categorize content based on your preferences.

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