Home > blockly > blockRendering > ConstantProvider > setComponentConstants_
blockRendering.ConstantProvider.setComponentConstants_() method
Set constants from a theme's component styles.
Signature:
protected setComponentConstants_(theme: Theme): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| theme | Theme | The current workspace theme. |
Returns:
void