@univerjs-pro/bases-thread-comment
本 API 页面目前提供英文正文。代码签名与标识符不随界面语言变化。
Row-anchored thread comments and Facade methods for Univer Bases.
TypeScript
import { UniverBasesThreadCommentPlugin } from '@univerjs-pro/bases-thread-comment'import '@univerjs-pro/bases-thread-comment/facade'univer.registerPlugin(UniverBasesThreadCommentPlugin)const record = univerAPI.getActiveBase()?.getTables()[0]?.getRecords()[0]await record?.createCommentAsync('Confirm this record.', { id: 'review-record-1' })The Facade entry adds createCommentAsync(), getComments(), and listCommentsAsync() to FBaseTableRecord.
Entry Points
- Facade:
@univerjs-pro/bases-thread-comment/facade
你觉得这篇文档如何?