API Reference
@univerjs
@univerjs/docs-mention-ui
classes
Docmentionpopupservice

@univerjs/docs-mention-ui v0.4.2Docs


Class: DocMentionPopupService

Extends

Constructors

new DocMentionPopupService()

new DocMentionPopupService(_docCanvasPopupManagerService, _docMentionService): DocMentionPopupService

Parameters

ParameterType
_docCanvasPopupManagerServiceDocCanvasPopManagerService
_docMentionServiceDocMentionService

Returns

DocMentionPopupService

Overrides

Disposable.constructor

Defined in

docs-mention-ui/src/services/doc-mention-popup.service.ts:37 (opens in a new tab)

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedcore/src/shared/lifecycle.ts:93 (opens in a new tab)
editPopup$readonlyObservable<Nullable<{ anchor: number; popup: IDisposable; }>>undefined-docs-mention-ui/src/services/doc-mention-popup.service.ts:32 (opens in a new tab)
infoPopup$readonlyObservable<undefined>undefined-docs-mention-ui/src/services/doc-mention-popup.service.ts:26 (opens in a new tab)

Accessors

editPopup

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

Returns

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

NameTypeDefined in
anchornumberdocs-mention-ui/src/services/doc-mention-popup.service.ts:31 (opens in a new tab)
popupIDisposabledocs-mention-ui/src/services/doc-mention-popup.service.ts:31 (opens in a new tab)

Defined in

docs-mention-ui/src/services/doc-mention-popup.service.ts:33 (opens in a new tab)


infoPopup

get infoPopup(): undefined

Returns

undefined

Defined in

docs-mention-ui/src/services/doc-mention-popup.service.ts:27 (opens in a new tab)

Methods

closeEditPopup()

closeEditPopup(): void

Returns

void

Defined in

docs-mention-ui/src/services/doc-mention-popup.service.ts:72 (opens in a new tab)


closeInfoPopup()

closeInfoPopup(): void

Returns

void

Defined in

docs-mention-ui/src/services/doc-mention-popup.service.ts:54 (opens in a new tab)


dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

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

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


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

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


showEditPopup()

showEditPopup(unitId, index): void

Parameters

ParameterType
unitIdstring
indexnumber

Returns

void

Defined in

docs-mention-ui/src/services/doc-mention-popup.service.ts:56 (opens in a new tab)


showInfoPopup()

showInfoPopup(): void

Returns

void

Defined in

docs-mention-ui/src/services/doc-mention-popup.service.ts:52 (opens in a new tab)


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