blockly > IStyleable > removeStyle
IStyleable.removeStyle() method
Removes a style from the toolbox. Usually used to change the cursor.
Signature:
removeStyle(style: string): void;
Parameters
Parameter |
Type |
Description |
style |
string |
The name of the class to remove. |
Returns:
void
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["The `removeStyle` method is used to remove a style, typically a cursor style, from a Blockly toolbox element."],["It takes one argument: a string representing the name of the style class to remove."],["The method does not return any value (void)."]]],[]]