@univerjs/ui v0.4.2 • Docs
Interface: IDialogService
Methods
close()
close(id): void
Parameters
Parameter | Type |
---|---|
id | string |
Returns
void
Defined in
packages/ui/src/services/dialog/dialog.service.ts:26 (opens in a new tab)
closeAll()
closeAll(expectIds?): void
Parameters
Parameter | Type | Description |
---|---|---|
expectIds ? | string [] | The specified dialog ids |
Returns
void
Description
close all dialogs except the specified ones
Defined in
packages/ui/src/services/dialog/dialog.service.ts:31 (opens in a new tab)
getDialogs$()
getDialogs$(): Observable<IDialogPartMethodOptions[]>
Returns
Observable
<IDialogPartMethodOptions
[]>
Defined in
packages/ui/src/services/dialog/dialog.service.ts:32 (opens in a new tab)
open()
open(params): IDisposable
Parameters
Parameter | Type |
---|---|
params | IDialogPartMethodOptions |
Returns
Defined in
packages/ui/src/services/dialog/dialog.service.ts:25 (opens in a new tab)