Stay organized with collections Save and categorize content based on your preferences.

blockly > Events > CommentChange

Events.CommentChange class

Class for a comment change event.

Signature:

export declare class CommentChange extends CommentBase 

Extends: CommentBase

Constructors

Constructor Modifiers Description
(constructor)(opt_comment, opt_oldContents, opt_newContents) Constructs a new instance of the CommentChange class

Properties

Property Modifiers Type Description
newContents_? string (Optional)
oldContents_? string (Optional)
type string

Methods

Method Modifiers Description
fromJson(json) Decode the JSON event.
isNull() Does this event record any change of state?
run(forward) Run a change event.
toJson() Encode the event as JSON.