API Reference
@univerjs
@univerjs/ui
interfaces
Iconfirmservice

@univerjs/ui v0.4.2Docs


Interface: IConfirmService

Properties

PropertyModifierTypeDefined in
confirmOptions$readonlySubject<IConfirmPartMethodOptions[]>packages/ui/src/services/confirm/confirm.service.ts:25 (opens in a new tab)

Methods

close()

close(id): void

Parameters

ParameterType
idstring

Returns

void

Defined in

packages/ui/src/services/confirm/confirm.service.ts:29 (opens in a new tab)


confirm()

confirm(params): Promise<boolean>

Parameters

ParameterType
paramsIConfirmPartMethodOptions

Returns

Promise<boolean>

Defined in

packages/ui/src/services/confirm/confirm.service.ts:28 (opens in a new tab)


open()

open(params): IDisposable

Parameters

ParameterType
paramsIConfirmPartMethodOptions

Returns

IDisposable

Defined in

packages/ui/src/services/confirm/confirm.service.ts:27 (opens in a new tab)


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