@univerjsdocs-mention-uiclassesDocmentionpopupservice

@univerjs/docs-mention-ui v0.5.4


Class: DocMentionPopupService

Defined in: docs-mention-ui/src/services/doc-mention-popup.service.ts:24

Extends

Constructors

new DocMentionPopupService()

new DocMentionPopupService(_docCanvasPopupManagerService, _docMentionService): DocMentionPopupService

Defined in: docs-mention-ui/src/services/doc-mention-popup.service.ts:37

Parameters

ParameterType
_docCanvasPopupManagerServiceDocCanvasPopManagerService
_docMentionServiceDocMentionService

Returns

DocMentionPopupService

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedcore/src/shared/lifecycle.ts:96
editPopup$readonlyObservable<Nullable<{ anchor: number; popup: IDisposable; unitId: string; }>>undefined-docs-mention-ui/src/services/doc-mention-popup.service.ts:32
infoPopup$readonlyObservable<undefined>undefined-docs-mention-ui/src/services/doc-mention-popup.service.ts:26

Accessors

editPopup

Get Signature

get editPopup(): Nullable<{
  anchor: number;
  popup: IDisposable;
  unitId: string;
}>

Defined in: docs-mention-ui/src/services/doc-mention-popup.service.ts:33

Returns

Nullable<{ anchor: number; popup: IDisposable; unitId: string; }>


infoPopup

Get Signature

get infoPopup(): undefined

Defined in: docs-mention-ui/src/services/doc-mention-popup.service.ts:27

Returns

undefined

Methods

closeEditPopup()

closeEditPopup(): void

Defined in: docs-mention-ui/src/services/doc-mention-popup.service.ts:72

Returns

void


closeInfoPopup()

closeInfoPopup(): void

Defined in: docs-mention-ui/src/services/doc-mention-popup.service.ts:54

Returns

void


dispose()

dispose(): void

Defined in: core/src/shared/lifecycle.ts:109

Returns

void

Inherited from

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


showEditPopup()

showEditPopup(unitId, index): void

Defined in: docs-mention-ui/src/services/doc-mention-popup.service.ts:56

Parameters

ParameterType
unitIdstring
indexnumber

Returns

void


showInfoPopup()

showInfoPopup(): void

Defined in: docs-mention-ui/src/services/doc-mention-popup.service.ts:52

Returns

void