blockly > Theme > setCategoryStyle
Theme.setCategoryStyle() method
Overrides or adds a style to the categoryStyles map.
Signature:
setCategoryStyle(categoryStyleName: string, categoryStyle: CategoryStyle): void;
Parameters
Parameter | Type | Description |
---|---|---|
categoryStyleName | string | The name of the category style. |
categoryStyle | CategoryStyle | The category style. |
Returns:
void