@univerjs/engine-formula v0.5.0-beta.1 • Docs
Class: ActiveDirtyManagerService
Actively mark as dirty, calculate the dirty area based on the command, and plugins can register the ref range they affect into the formula engine.
Extends
Implements
Constructors
new ActiveDirtyManagerService()
new ActiveDirtyManagerService(): ActiveDirtyManagerService
Returns
Inherited from
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
dispose()
dispose(): void
Returns
void
Implementation of
IActiveDirtyManagerService
.dispose
Overrides
Defined in
submodules/univer/packages/engine-formula/src/services/active-dirty-manager.service.ts:54
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
get()
get(commandId): undefined | IDirtyConversionManagerParams
Parameters
Parameter | Type |
---|---|
commandId | string |
Returns
undefined
| IDirtyConversionManagerParams
Implementation of
IActiveDirtyManagerService
.get
Defined in
submodules/univer/packages/engine-formula/src/services/active-dirty-manager.service.ts:62
getDirtyConversionMap()
getDirtyConversionMap(): Map<string, IDirtyConversionManagerParams>
Returns
Map
<string
, IDirtyConversionManagerParams
>
Implementation of
IActiveDirtyManagerService
.getDirtyConversionMap
Defined in
submodules/univer/packages/engine-formula/src/services/active-dirty-manager.service.ts:74
has()
has(commandId): boolean
Parameters
Parameter | Type |
---|---|
commandId | string |
Returns
boolean
Implementation of
IActiveDirtyManagerService
.has
Defined in
submodules/univer/packages/engine-formula/src/services/active-dirty-manager.service.ts:66
register()
register(commandId, dirtyConversion): void
Parameters
Parameter | Type |
---|---|
commandId | string |
dirtyConversion | IDirtyConversionManagerParams |
Returns
void
Implementation of
IActiveDirtyManagerService
.register
Defined in
submodules/univer/packages/engine-formula/src/services/active-dirty-manager.service.ts:70
remove()
remove(commandId): void
Parameters
Parameter | Type |
---|---|
commandId | string |
Returns
void
Implementation of
IActiveDirtyManagerService
.remove
Defined in
submodules/univer/packages/engine-formula/src/services/active-dirty-manager.service.ts:58