blockly > BlockSvg > disposeInternal
Metoda BlockSvg.disposeInternal()
Usuwa ten blok bez wykonywania czynności wymaganych przez górny blok. Na przykład: wywołuje efekty interfejsu, usuwa węzły itd.
Podpis:
disposeInternal(): void;
Zwroty:
nieważne
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-09-12 UTC.
[null,null,["Ostatnia aktualizacja: 2024-09-12 UTC."],[[["The `disposeInternal()` method removes the block's visual elements and UI effects without impacting the overall workspace."],["This method is used for internal cleanup and doesn't perform actions typically needed when removing a top-level block."],["Unlike a full disposal, `disposeInternal()` avoids triggering workspace updates or affecting connected blocks."]]],["The `disposeInternal()` method, part of the `BlockSvg` class, is used to dispose of a block. This method performs a basic disposal, omitting actions like triggering UI effects or removing nodes. It's designed for internal cleanup without the broader implications of a full disposal. The method returns nothing (`void`).\n"]]