@univerjs/sheets-ui v0.5.0-beta.1 • Docs
Class: CellAlertManagerService
Extends
Constructors
new CellAlertManagerService()
new CellAlertManagerService(_renderManagerService, _canvasPopManagerService): CellAlertManagerService
Parameters
Parameter | Type |
---|---|
_renderManagerService | IRenderManagerService |
_canvasPopManagerService | SheetCanvasPopManagerService |
Returns
Overrides
Defined in
submodules/univer/packages/sheets-ui/src/services/cell-alert-manager.service.ts:51
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
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;
}>
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
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:106
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100
removeAlert()
removeAlert(key): void
Parameters
Parameter | Type |
---|---|
key | string |
Returns
void
Defined in
submodules/univer/packages/sheets-ui/src/services/cell-alert-manager.service.ts:104
showAlert()
showAlert(alert): void
Parameters
Parameter | Type |
---|---|
alert | ICellAlert |
Returns
void
Defined in
submodules/univer/packages/sheets-ui/src/services/cell-alert-manager.service.ts:62