blockly > WorkspaceSvg > getCommentById
WorkspaceSvg.getCommentById() 메서드
지정된 ID가 있는 작업공간 댓글을 반환합니다(있는 경우).
서명:
getCommentById(id: string): RenderedWorkspaceComment | null;
매개변수
매개변수 | 유형 | 설명 |
---|---|---|
id | 문자열 | 가져올 댓글의 ID입니다. |
반환:
RenderedWorkspaceComment | null
지정된 ID의 워크스페이스 댓글입니다. null일 수도 있습니다.