blockly > Événements > CommentChange > (constructeur)
Events.CommentChange.(constructor)
Construit une nouvelle instance de la classe CommentChange
.
Signature :
constructor(opt_comment?: WorkspaceComment, opt_oldContents?: string, opt_newContents?: string);
Paramètres
Paramètre | Type | Description |
---|---|---|
opt_comment | WorkspaceComment | (Facultatif) Commentaire en cours de modification. Non défini pour un événement vide. |
opt_oldContents | chaîne | (Facultatif) Contenu précédent du commentaire. |
opt_newContents | chaîne | (Facultatif) Nouveau contenu du commentaire. |