@univerjs/ui v0.5.0-beta.1Docs


Interface: IDialogService

Methods

close()

close(id): void

Parameters

ParameterType
idstring

Returns

void

Defined in

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


closeAll()

closeAll(expectIds?): void

Parameters

ParameterTypeDescription
expectIds?string[]The specified dialog ids

Returns

void

Description

close all dialogs except the specified ones

Defined in

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


getDialogs$()

getDialogs$(): Observable<IDialogPartMethodOptions[]>

Returns

Observable<IDialogPartMethodOptions[]>

Defined in

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


open()

open(params): IDisposable

Parameters

ParameterType
paramsIDialogPartMethodOptions

Returns

IDisposable

Defined in

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