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

Events.CommentDrag.(constructor)

CommentDrag 클래스의 새 인스턴스를 생성합니다.

서명:

constructor(opt_comment?: WorkspaceComment, opt_isStart?: boolean);

매개변수

매개변수 유형 설명
opt_comment WorkspaceComment (선택사항) 드래그되는 댓글입니다. 빈 이벤트의 경우 정의되지 않습니다.
opt_isStart 부울 (선택사항) 댓글 드래그가 시작되었는지 여부입니다. 빈 이벤트의 경우 정의되지 않습니다.