@univerjs/docs-ui v0.5.0-beta.1 • Docs
Class: DocCanvasPopManagerService
Extends
Constructors
new DocCanvasPopManagerService()
new DocCanvasPopManagerService(
_globalPopupManagerService,
_renderManagerService,
_univerInstanceService,
_commandService): DocCanvasPopManagerService
Parameters
Parameter | Type |
---|---|
_globalPopupManagerService | ICanvasPopupService |
_renderManagerService | IRenderManagerService |
_univerInstanceService | IUniverInstanceService |
_commandService | ICommandService |
Returns
Overrides
Defined in
submodules/univer/packages/docs-ui/src/services/doc-popup-manager.service.ts:127
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
Methods
attachPopupToObject()
attachPopupToObject(
targetObject,
popup,
unitId): IDisposable
attach a popup to canvas object
Parameters
Parameter | Type | Description |
---|---|---|
targetObject | BaseObject | target canvas object |
popup | IDocCanvasPopup | popup item |
unitId | string | - |
Returns
disposable
Defined in
submodules/univer/packages/docs-ui/src/services/doc-popup-manager.service.ts:235
attachPopupToRange()
attachPopupToRange(
range,
popup,
unitId): INeedCheckDisposable
attach a popup to doc range
Parameters
Parameter | Type | Description |
---|---|---|
range | ITextRangeParam | doc range |
popup | IDocCanvasPopup | popup item |
unitId | string | unit id |
Returns
disposable
Defined in
submodules/univer/packages/docs-ui/src/services/doc-popup-manager.service.ts:269
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:106
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100