Stay organized with collections
Save and categorize content based on your preferences.
blockly > icons > WarningIcon > dispose
icons.WarningIcon.dispose() method
Signature:
dispose(): void;
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003e\u003ccode\u003eicons.WarningIcon.dispose()\u003c/code\u003e is a method that removes the warning icon from the block.\u003c/p\u003e\n"],["\u003cp\u003eIt has a void return type and requires no parameters.\u003c/p\u003e\n"]]],["The `dispose()` method within the `icons.WarningIcon` class is a function that performs an action and doesn't return any value. Its signature indicates that it takes no arguments and is designed to be called to execute internal processes. The function is categorized under the Blockly library's icons namespace. The method likely handles the cleanup or removal of a warning icon object.\n"],null,["[blockly](./blockly.md) \\\u003e [icons](./blockly.icons_namespace.md) \\\u003e [WarningIcon](./blockly.icons_namespace.warningicon_class.md) \\\u003e [dispose](./blockly.icons_namespace.warningicon_class.dispose_1_method.md)\n\nicons.WarningIcon.dispose() method\n----------------------------------\n\n**Signature:** \n\n dispose(): void;\n\n**Returns:**\n\nvoid"]]