blockly > Etkinlikler > CommentChange > (kurucu)

Events.CommentChange.(constructor)

CommentChange sınıfının yeni bir örneğini oluşturur

İmza:

constructor(opt_comment?: WorkspaceComment, opt_oldContents?: string, opt_newContents?: string);

Parametreler

Parametre Tür Açıklama
opt_comment WorkspaceComment (İsteğe bağlı) Değiştirilen yorum. Boş bir etkinlik için tanımsız.
opt_oldContents dize (İsteğe bağlı) Yorumun önceki içerikleri.
opt_newContents dize (İsteğe bağlı) Yorumun yeni içeriği.