API Reference
@univerjs
@univerjs/sheets-thread-comment
classes
Sheetsthreadcommentpopupservice

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


Class: SheetsThreadCommentPopupService

Extends

Constructors

new SheetsThreadCommentPopupService()

new SheetsThreadCommentPopupService(_canvasPopupManagerService, _zenZoneService): SheetsThreadCommentPopupService

Parameters

ParameterType
_canvasPopupManagerServiceSheetCanvasPopManagerService
_zenZoneServiceIZenZoneService

Returns

SheetsThreadCommentPopupService

Overrides

Disposable.constructor

Defined in

packages/sheets-thread-comment/src/services/sheets-thread-comment-popup.service.ts:43 (opens in a new tab)

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)
activePopup$publicObservable<Nullable<IThreadCommentPopup>>undefined-packages/sheets-thread-comment/src/services/sheets-thread-comment-popup.service.ts:37 (opens in a new tab)

Accessors

activePopup

get activePopup(): Nullable<IThreadCommentPopup>

Returns

Nullable<IThreadCommentPopup>

Defined in

packages/sheets-thread-comment/src/services/sheets-thread-comment-popup.service.ts:39 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)


hidePopup()

hidePopup(): void

Returns

void

Defined in

packages/sheets-thread-comment/src/services/sheets-thread-comment-popup.service.ts:117 (opens in a new tab)


persistPopup()

persistPopup(): void

Returns

void

Defined in

packages/sheets-thread-comment/src/services/sheets-thread-comment-popup.service.ts:130 (opens in a new tab)


showPopup()

showPopup(location, onHide?): void

Parameters

ParameterType
locationIThreadCommentPopup
onHide?() => void

Returns

void

Defined in

packages/sheets-thread-comment/src/services/sheets-thread-comment-popup.service.ts:63 (opens in a new tab)


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