Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > Zdarzenia > BlockDelete > (konstruktor)
Events.BlockDelete.(constructor)
Tworzy nową instancję klasy BlockDelete
Podpis:
constructor(opt_block?: Block);
Parametry
| Parametr |
Typ |
Opis |
| opt_block |
Zablokuj |
(Opcjonalnie) Usunięty blok. Brak wartości dla pustego zdarzenia. |
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: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["The `BlockDelete` class constructor creates a new instance representing a block deletion event. It optionally accepts a `Block` object as a parameter, which represents the deleted block. If no block is provided, it signifies a blank deletion event. This constructor is used to instantiate `BlockDelete` objects that hold information about the deletion of a specific block or the occurrence of a general delete event.\n"]]