Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > Ereignisse > CommentDelete
Benachrichtigt die Zuhörer, dass ein Kommentar in einem Arbeitsbereich gelöscht wurde.
Unterschrift:
export declare class CommentDelete extends CommentBase
Erweitert:CommentBase
Konstruktoren
Attribute
Attribut |
Modifikatoren |
Typ |
Beschreibung |
json? |
|
comments.State |
Optional: Die JSON-Darstellung des erstellten Workspace-Kommentars. |
type |
|
EventType |
|
xml? |
|
Element |
Optional: Die XML-Darstellung des gelöschten Arbeitsbereichskommentars. |
Methoden
Methode |
Modifikatoren |
Beschreibung |
run(forward) |
|
Führen Sie ein Ereignis vom Typ „Erstellung“ aus. |
toJson() |
|
Codieren Sie das Ereignis als JSON. |
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 `CommentDelete` class, extending `CommentBase`, notifies listeners about the deletion of a workspace comment. It can be constructed with an optional comment. Key properties include `json` (optional JSON representation), `type` (string), and `xml` (optional XML representation). Core actions include `run`, which executes a creation event, and `toJson`, which encodes the event into JSON format. It provides data regarding deleted comments.\n"]]