@univerjs-pro/shape-thread-comment
이 API 페이지의 본문은 현재 영어로 제공됩니다. 코드 시그니처와 식별자는 언어에 따라 바뀌지 않습니다.
Facade methods for comments anchored to images, charts, and Shapes in Sheets, Docs, Slides, and Boards.
TypeScript
import { UniverShapeThreadCommentPlugin } from '@univerjs-pro/shape-thread-comment'import '@univerjs-pro/shape-thread-comment/facade'univer.registerPlugin(UniverShapeThreadCommentPlugin)const image = univerAPI.getActiveWorkbook()?.getActiveSheet()?.getImages()[0]await image?.createCommentAsync('Replace this image.', { id: 'review-image-1' })The Facade entry adds createCommentAsync(), getComments(), and listCommentsAsync() to supported element Facades.
Entry Points
- Facade:
@univerjs-pro/shape-thread-comment/facade
이 가이드는 어떠셨나요?