@univerjs-pro/bases-thread-comment
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
How is this guide?