Class: DesktopConfirmService
Defined in: submodules/univer/packages/ui/src/services/confirm/desktop-confirm.service.ts:26
Extends
Implements
Constructors
new DesktopConfirmService()
new DesktopConfirmService(_injector, _uiPartsService): DesktopConfirmService
Defined in: submodules/univer/packages/ui/src/services/confirm/desktop-confirm.service.ts:30
Parameters
Parameter | Type |
---|---|
_injector | Injector |
_uiPartsService | IUIPartsService |
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 |
_injector | readonly | Injector | undefined | - | submodules/univer/packages/ui/src/services/confirm/desktop-confirm.service.ts:31 |
_uiPartsService | readonly | IUIPartsService | undefined | - | submodules/univer/packages/ui/src/services/confirm/desktop-confirm.service.ts:32 |
confirmOptions$ | readonly | BehaviorSubject <IConfirmPartMethodOptions []> | undefined | - | submodules/univer/packages/ui/src/services/confirm/desktop-confirm.service.ts:28 |
Methods
_initUIPart()
protected _initUIPart(): void
Defined in: submodules/univer/packages/ui/src/services/confirm/desktop-confirm.service.ts:83
Returns
void
close()
close(id): void
Defined in: submodules/univer/packages/ui/src/services/confirm/desktop-confirm.service.ts:75
Parameters
Parameter | Type |
---|---|
id | string |
Returns
void
Implementation of
confirm()
confirm(params): Promise<boolean>
Defined in: submodules/univer/packages/ui/src/services/confirm/desktop-confirm.service.ts:59
Parameters
Parameter | Type |
---|---|
params | IConfirmPartMethodOptions |
Returns
Promise
<boolean
>
Implementation of
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
open()
open(option): IDisposable
Defined in: submodules/univer/packages/ui/src/services/confirm/desktop-confirm.service.ts:39
Parameters
Parameter | Type |
---|---|
option | IConfirmPartMethodOptions |