blockly > 이벤트 > CommentChange > (생성자)

Events.CommentChange.(constructor)

CommentChange 클래스의 새 인스턴스를 구성합니다.

Signature:

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

매개변수

매개변수 유형 설명
opt_comment WorkspaceComment (선택사항) 변경되는 댓글입니다. 빈 이벤트에 대해 정의되지 않았습니다.
opt_oldContents string (선택사항) 댓글의 이전 내용.
opt_newContents string (선택사항) 댓글의 새 콘텐츠입니다.