blockly > 이벤트 > CommentDrag

Events.CommentDrag 클래스

댓글을 수동으로 드래그/드롭할 때 리스너에게 알립니다.

서명:

export declare class CommentDrag extends UiBase 

확장: UiBase

생성자

생성자 수정자 설명
(constructor)(opt_comment, opt_isStart) CommentDrag 클래스의 새 인스턴스를 생성합니다.

속성

속성 수정자 유형 설명
commentId? 문자열 (선택사항) 드래그되는 최상위 댓글의 ID입니다.
isStart? 부울 (선택사항) 드래그 시작이면 true이고 드래그 종료면 false입니다.
type EventType

메서드

메서드 수정자 설명
toJson() 이벤트를 JSON으로 인코딩합니다.