blockly > 이벤트 > CommentCollapse
Events.CommentCollapse 클래스
서명:
export declare class CommentCollapse extends CommentBase
확장: CommentBase
생성자
| 생성자 | 수정자 | 설명 |
|---|---|---|
| (생성자)(comment, newCollapsed) | CommentCollapse 클래스의 새 인스턴스를 생성합니다. |
속성
| 속성 | 수정자 | 유형 | 설명 |
|---|---|---|---|
| newCollapsed? | boolean | undefined | (선택사항) | |
| type | EventType |
메서드
| 메서드 | 수정자 | 설명 |
|---|---|---|
| run(forward) | 접기 이벤트를 실행합니다. | |
| toJson() | 이벤트를 JSON으로 인코딩합니다. |