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

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


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:44 (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:38 (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:40 (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()

protected 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:112 (opens in a new tab)


persistPopup()

persistPopup(): void

Returns

void

Defined in

packages/sheets-thread-comment/src/services/sheets-thread-comment-popup.service.ts:123 (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:60 (opens in a new tab)


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