blockly > comments > CommentEditor > (constructor)

comments.CommentEditor.(constructor)

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

서명:

constructor(workspace: WorkspaceSvg, commentId?: string, onFinishEditing?: (() => void) | undefined);

매개변수

매개변수 유형 설명
작업공간 WorkspaceSvg
commentId 문자열 (선택사항)
onFinishEditing (() => void) | undefined (선택사항)