@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
你覺得這篇文檔如何?