blockly > IStyleable > addStyle
IStyleable.addStyle() method
Adds a style on the toolbox. Usually used to change the cursor.
Signature:
addStyle(style: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
style | string | The name of the class to add. |
Returns:
void