blockly > Events > CommentCreate
Events.CommentCreate class
Notifies listeners that a workspace comment was created.
Signature:
export declare class CommentCreate extends CommentBase
Extends: CommentBase
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Constructs a new instance of the |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
comments.State | (Optional) The JSON representation of the created workspace comment. | ||
EventType | |||
Element | DocumentFragment | (Optional) The XML representation of the created workspace comment. |
Methods
Method | Modifiers | Description |
|---|---|---|
Run a creation event. | ||
Encode the event as JSON. |