@univerjssheets-uiindexclassesCellalertmanagerservice

@univerjs/sheets-ui v0.5.0-beta.1Docs


Class: CellAlertManagerService

Extends

Constructors

new CellAlertManagerService()

new CellAlertManagerService(_renderManagerService, _canvasPopManagerService): CellAlertManagerService

Parameters

ParameterType
_renderManagerServiceIRenderManagerService
_canvasPopManagerServiceSheetCanvasPopManagerService

Returns

CellAlertManagerService

Overrides

Disposable.constructor

Defined in

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

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:93
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;
}>
Returns

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

Defined in

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

Methods

clearAlert()

clearAlert(): void

Returns

void

Defined in

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


dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:106


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:100


removeAlert()

removeAlert(key): void

Parameters

ParameterType
keystring

Returns

void

Defined in

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


showAlert()

showAlert(alert): void

Parameters

ParameterType
alertICellAlert

Returns

void

Defined in

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