API Reference
@univerjs
@univerjs/thread-comment-ui
interfaces
Ithreadcommentpanelprops

@univerjs/thread-comment-ui v0.4.2Docs


Interface: IThreadCommentPanelProps

Properties

PropertyTypeDefined in
disableAdd?booleanpackages/thread-comment-ui/src/views/thread-comment-panel/index.tsx:42 (opens in a new tab)
getSubUnitName(subUnitId: string) => stringpackages/thread-comment-ui/src/views/thread-comment-panel/index.tsx:37 (opens in a new tab)
onAdd() => voidpackages/thread-comment-ui/src/views/thread-comment-panel/index.tsx:36 (opens in a new tab)
onAddComment?(comment: IThreadComment) => booleanpackages/thread-comment-ui/src/views/thread-comment-panel/index.tsx:44 (opens in a new tab)
onDeleteComment?(comment: IThreadComment) => booleanpackages/thread-comment-ui/src/views/thread-comment-panel/index.tsx:45 (opens in a new tab)
onItemEnter?(comment: IThreadComment) => voidpackages/thread-comment-ui/src/views/thread-comment-panel/index.tsx:41 (opens in a new tab)
onItemLeave?(comment: IThreadComment) => voidpackages/thread-comment-ui/src/views/thread-comment-panel/index.tsx:40 (opens in a new tab)
onResolve?(id: string, resolved: boolean) => voidpackages/thread-comment-ui/src/views/thread-comment-panel/index.tsx:38 (opens in a new tab)
showComments?string[]packages/thread-comment-ui/src/views/thread-comment-panel/index.tsx:46 (opens in a new tab)
sortComments?(comments: IThreadComment[]) => IThreadComment[]packages/thread-comment-ui/src/views/thread-comment-panel/index.tsx:39 (opens in a new tab)
subUnitId$Observable<undefined | string>packages/thread-comment-ui/src/views/thread-comment-panel/index.tsx:34 (opens in a new tab)
tempComment?Nullable<IThreadComment>packages/thread-comment-ui/src/views/thread-comment-panel/index.tsx:43 (opens in a new tab)
typeUniverInstanceTypepackages/thread-comment-ui/src/views/thread-comment-panel/index.tsx:35 (opens in a new tab)
unitIdstringpackages/thread-comment-ui/src/views/thread-comment-panel/index.tsx:33 (opens in a new tab)

Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.