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
Parameter | Type |
---|---|
_renderManagerService | IRenderManagerService |
_canvasPopManagerService | SheetCanvasPopManagerService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
currentAlert$ | public | Observable <[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
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
removeAlert()
removeAlert(key): void
Defined in: submodules/univer/packages/sheets-ui/src/services/cell-alert-manager.service.ts:104
Parameters
Parameter | Type |
---|---|
key | string |
Returns
void
showAlert()
showAlert(alert): void
Defined in: submodules/univer/packages/sheets-ui/src/services/cell-alert-manager.service.ts:62
Parameters
Parameter | Type |
---|---|
alert | ICellAlert |
Returns
void