Stay organized with collections
Save and categorize content based on your preferences.
blockly > Events > CommentDelete
Notifies listeners that a workspace comment has been deleted.
Signature:
export declare class CommentDelete extends CommentBase
Extends: CommentBase
Constructors
Properties
Property |
Modifiers |
Type |
Description |
json? |
|
comments.State |
(Optional) The JSON representation of the created workspace comment. |
type |
|
EventType |
|
xml? |
|
Element |
(Optional) The XML representation of the deleted workspace comment. |
Methods
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 2025-05-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-16 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"]]