@univerjsdocs-uiindexclassesDoccanvaspopmanagerservice

@univerjs/docs-ui v0.5.4


Class: DocCanvasPopManagerService

Defined in: submodules/univer/packages/docs-ui/src/services/doc-popup-manager.service.ts:126

Extends

Constructors

new DocCanvasPopManagerService()

new DocCanvasPopManagerService(
   _globalPopupManagerService, 
   _renderManagerService, 
   _univerInstanceService, 
   _commandService): DocCanvasPopManagerService

Defined in: submodules/univer/packages/docs-ui/src/services/doc-popup-manager.service.ts:127

Parameters

ParameterType
_globalPopupManagerServiceICanvasPopupService
_renderManagerServiceIRenderManagerService
_univerInstanceServiceIUniverInstanceService
_commandServiceICommandService

Returns

DocCanvasPopManagerService

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96

Methods

attachPopupToObject()

attachPopupToObject(
   targetObject, 
   popup, 
   unitId): IDisposable

Defined in: submodules/univer/packages/docs-ui/src/services/doc-popup-manager.service.ts:235

attach a popup to canvas object

Parameters

ParameterTypeDescription
targetObjectBaseObjecttarget canvas object
popupIDocCanvasPopuppopup item
unitIdstring-

Returns

IDisposable

disposable


attachPopupToRange()

attachPopupToRange(
   range, 
   popup, 
   unitId): INeedCheckDisposable

Defined in: submodules/univer/packages/docs-ui/src/services/doc-popup-manager.service.ts:269

attach a popup to doc range

Parameters

ParameterTypeDescription
rangeITextRangeParamdoc range
popupIDocCanvasPopuppopup item
unitIdstringunit id

Returns

INeedCheckDisposable

disposable


dispose()

dispose(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109

Returns

void

Inherited from

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed