@univerjssheets-thread-comment-uiclassesSheetsthreadcommentpopupservice

@univerjs/sheets-thread-comment-ui v0.5.0-beta.1Docs


Class: SheetsThreadCommentPopupService

Extends

Constructors

new SheetsThreadCommentPopupService()

new SheetsThreadCommentPopupService(_canvasPopupManagerService, _zenZoneService): SheetsThreadCommentPopupService

Parameters

ParameterType
_canvasPopupManagerServiceSheetCanvasPopManagerService
_zenZoneServiceIZenZoneService

Returns

SheetsThreadCommentPopupService

Overrides

Disposable.constructor

Defined in

submodules/univer/packages/sheets-thread-comment-ui/src/services/sheets-thread-comment-popup.service.ts:43

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:93
activePopup$publicObservable<Nullable<IThreadCommentPopup>>undefined-submodules/univer/packages/sheets-thread-comment-ui/src/services/sheets-thread-comment-popup.service.ts:37

Accessors

activePopup

Get Signature

get activePopup(): Nullable<IThreadCommentPopup>
Returns

Nullable<IThreadCommentPopup>

Defined in

submodules/univer/packages/sheets-thread-comment-ui/src/services/sheets-thread-comment-popup.service.ts:39

Methods

dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:106


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:100


hidePopup()

hidePopup(): void

Returns

void

Defined in

submodules/univer/packages/sheets-thread-comment-ui/src/services/sheets-thread-comment-popup.service.ts:117


persistPopup()

persistPopup(): void

Returns

void

Defined in

submodules/univer/packages/sheets-thread-comment-ui/src/services/sheets-thread-comment-popup.service.ts:130


showPopup()

showPopup(location, onHide?): void

Parameters

ParameterType
locationIThreadCommentPopup
onHide?() => void

Returns

void

Defined in

submodules/univer/packages/sheets-thread-comment-ui/src/services/sheets-thread-comment-popup.service.ts:63