blockly > 이벤트 > CommentBase
Events.CommentBase 클래스
댓글 이벤트의 추상 클래스입니다.
Signature:
export declare class CommentBase extends AbstractEvent
확장: AbstractEvent
생성자
생성자 | 수정자 | 설명 |
---|---|---|
(생성자)(opt_comment) | CommentBase 클래스의 새 인스턴스를 구성합니다. |
속성
속성 | 수정자 | 유형 | 설명 |
---|---|---|---|
commentId? | string | (선택사항) 이 이벤트가 참조하는 댓글의 ID입니다. | |
isBlank | boolean |
방법
메서드 | 수정자 | 설명 |
---|---|---|
CommentCreateDeleteHelper(event, create) | static |
댓글[Create|Delete] 도우미 함수 |
toJson() | 이벤트를 JSON으로 인코딩합니다. |