Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > Ereignisse > BlockDelete > (Konstrukteur)
Events.BlockDelete.(constructor)
Erstellt eine neue Instanz der BlockDelete
-Klasse
Unterschrift:
constructor(opt_block?: Block);
Parameter
Parameter |
Typ |
Beschreibung |
opt_block |
Blockieren |
(Optional) Der gelöschte Block. Nicht definiert für leeres Ereignis. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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"]]