@univerjs/ui v0.5.4


Interface: IDialogService

Defined in: submodules/univer/packages/ui/src/services/dialog/dialog.service.ts:23

Methods

close()

close(id): void

Defined in: submodules/univer/packages/ui/src/services/dialog/dialog.service.ts:26

Parameters

ParameterType
idstring

Returns

void


closeAll()

closeAll(expectIds?): void

Defined in: submodules/univer/packages/ui/src/services/dialog/dialog.service.ts:31

Parameters

ParameterTypeDescription
expectIds?string[]The specified dialog ids

Returns

void

Description

close all dialogs except the specified ones


getDialogs$()

getDialogs$(): Observable<IDialogPartMethodOptions[]>

Defined in: submodules/univer/packages/ui/src/services/dialog/dialog.service.ts:32

Returns

Observable<IDialogPartMethodOptions[]>


open()

open(params): IDisposable

Defined in: submodules/univer/packages/ui/src/services/dialog/dialog.service.ts:25

Parameters

ParameterType
paramsIDialogPartMethodOptions

Returns

IDisposable