@univerjs/docs-ui v0.4.2 • 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
packages/docs-ui/src/services/doc-popup-manager.service.ts:126 (opens in a new tab)
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
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
packages/docs-ui/src/services/doc-popup-manager.service.ts:228 (opens in a new tab)
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
packages/docs-ui/src/services/doc-popup-manager.service.ts:262 (opens in a new tab)
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)