blockly > Block > disposeInternal
Block.disposeInternal() method
Disposes of this block without doing things required by the top block. E.g. does not fire events, unplug the block, etc.
Signature:
protected disposeInternal(): 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.
[null,null,["Last updated 2024-09-18 UTC."],[[["`disposeInternal()` is a protected method of the `Block` class in Blockly."],["It disposes of the block without triggering events or unplugging it from the workspace, unlike a standard disposal."],["The method has a void return type and takes no arguments."]]],["The `disposeInternal()` method, part of the `Block` class, allows for the disposal of a block. It's a protected method that performs a minimal disposal, avoiding actions typically handled by the top-level block. Specifically, it omits event firing and unplugging the block. It does not return any value. This is used for internal block management.\n"]]