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
Parameter | Type |
---|---|
_globalPopupManagerService | ICanvasPopupService |
_renderManagerService | IRenderManagerService |
_univerInstanceService | IUniverInstanceService |
_commandService | ICommandService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/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
Parameter | Type | Description |
---|---|---|
targetObject | BaseObject | target canvas object |
popup | IDocCanvasPopup | popup item |
unitId | string | - |
Returns
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
Parameter | Type | Description |
---|---|---|
range | ITextRangeParam | doc range |
popup | IDocCanvasPopup | popup item |
unitId | string | unit id |
Returns
disposable
dispose()
dispose(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109
Returns
void
Inherited from
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void