@univerjs/sheets-ui v0.4.2 • Docs
Class: CellAlertManagerService
Extends
Constructors
new CellAlertManagerService()
new CellAlertManagerService(_renderManagerService, _canvasPopManagerService): CellAlertManagerService
Parameters
Parameter | Type |
---|---|
_renderManagerService | IRenderManagerService |
_canvasPopManagerService | SheetCanvasPopManagerService |
Returns
Overrides
Defined in
packages/sheets-ui/src/services/cell-alert-manager.service.ts:51 (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) |
currentAlert$ | public | Observable <[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
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)
removeAlert()
removeAlert(key): void
Parameters
Parameter | Type |
---|---|
key | string |
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
Parameter | Type |
---|---|
alert | ICellAlert |
Returns
void
Defined in
packages/sheets-ui/src/services/cell-alert-manager.service.ts:62 (opens in a new tab)