@univerjssheets-uiindexclassesCellalertmanagerservice

@univerjs/sheets-ui v0.5.4


Class: CellAlertManagerService

Defined in: submodules/univer/packages/sheets-ui/src/services/cell-alert-manager.service.ts:41

Extends

Constructors

new CellAlertManagerService()

new CellAlertManagerService(_renderManagerService, _canvasPopManagerService): CellAlertManagerService

Defined in: submodules/univer/packages/sheets-ui/src/services/cell-alert-manager.service.ts:51

Parameters

ParameterType
_renderManagerServiceIRenderManagerService
_canvasPopManagerServiceSheetCanvasPopManagerService

Returns

CellAlertManagerService

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96
currentAlert$publicObservable<[string, { alert: ICellAlert; dispose: IDisposable; }][]>undefined-submodules/univer/packages/sheets-ui/src/services/cell-alert-manager.service.ts:49

Accessors

currentAlert

Get Signature

get currentAlert(): Map<string, {
  alert: ICellAlert;
  dispose: IDisposable;
}>

Defined in: submodules/univer/packages/sheets-ui/src/services/cell-alert-manager.service.ts:45

Returns

Map<string, { alert: ICellAlert; dispose: IDisposable; }>

Methods

clearAlert()

clearAlert(): void

Defined in: submodules/univer/packages/sheets-ui/src/services/cell-alert-manager.service.ts:113

Returns

void


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


removeAlert()

removeAlert(key): void

Defined in: submodules/univer/packages/sheets-ui/src/services/cell-alert-manager.service.ts:104

Parameters

ParameterType
keystring

Returns

void


showAlert()

showAlert(alert): void

Defined in: submodules/univer/packages/sheets-ui/src/services/cell-alert-manager.service.ts:62

Parameters

ParameterType
alertICellAlert

Returns

void