blockly > Ereignisse > CommentChange > (constructor)
Events.CommentChange.(constructor)
Konstruiert eine neue Instanz der Klasse CommentChange
Unterschrift:
constructor(opt_comment?: WorkspaceComment, opt_oldContents?: string, opt_newContents?: string);
Parameter
Parameter | Typ | Beschreibung |
---|---|---|
opt_comment | WorkspaceComment | Optional: Der Kommentar, der geändert wird. Für ein leeres Ereignis nicht definiert. |
opt_oldContents | String | Optional: Vorheriger Inhalt des Kommentars |
opt_newContents | String | Optional: Neuer Inhalt des Kommentars. |