API Reference
@univerjs
@univerjs/sheets-ui
classes
Cellalertmanagerservice

@univerjs/sheets-ui v0.4.2Docs


Class: CellAlertManagerService

Extends

Constructors

new CellAlertManagerService()

new CellAlertManagerService(_renderManagerService, _canvasPopManagerService): CellAlertManagerService

Parameters

ParameterType
_renderManagerServiceIRenderManagerService
_canvasPopManagerServiceSheetCanvasPopManagerService

Returns

CellAlertManagerService

Overrides

Disposable.constructor

Defined in

packages/sheets-ui/src/services/cell-alert-manager.service.ts:51 (opens in a new tab)

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)
currentAlert$publicObservable<[string, { alert: ICellAlert; dispose: IDisposable; }][]>undefined-packages/sheets-ui/src/services/cell-alert-manager.service.ts:49 (opens in a new tab)

Accessors

currentAlert

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

Returns

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

Defined in

packages/sheets-ui/src/services/cell-alert-manager.service.ts:45 (opens in a new tab)

Methods

clearAlert()

clearAlert(): void

Returns

void

Defined in

packages/sheets-ui/src/services/cell-alert-manager.service.ts:113 (opens in a new tab)


dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)


removeAlert()

removeAlert(key): void

Parameters

ParameterType
keystring

Returns

void

Defined in

packages/sheets-ui/src/services/cell-alert-manager.service.ts:104 (opens in a new tab)


showAlert()

showAlert(alert): void

Parameters

ParameterType
alertICellAlert

Returns

void

Defined in

packages/sheets-ui/src/services/cell-alert-manager.service.ts:62 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.