@univerjsdocs-mention-uiclassesDocmentionpopupservice

@univerjs/docs-mention-ui v0.5.0-beta.1Docs


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

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedcore/src/shared/lifecycle.ts:93
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;
}>
Returns

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

NameTypeDefined in
anchornumberdocs-mention-ui/src/services/doc-mention-popup.service.ts:31
popupIDisposabledocs-mention-ui/src/services/doc-mention-popup.service.ts:31
unitIdstringdocs-mention-ui/src/services/doc-mention-popup.service.ts:31

Defined in

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


infoPopup

Get Signature

get infoPopup(): undefined
Returns

undefined

Defined in

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

Methods

closeEditPopup()

closeEditPopup(): void

Returns

void

Defined in

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


closeInfoPopup()

closeInfoPopup(): void

Returns

void

Defined in

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


dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

core/src/shared/lifecycle.ts:106


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

core/src/shared/lifecycle.ts:100


showEditPopup()

showEditPopup(unitId, index): void

Parameters

ParameterType
unitIdstring
indexnumber

Returns

void

Defined in

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


showInfoPopup()

showInfoPopup(): void

Returns

void

Defined in

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