API Reference
@univerjs
@univerjs/ui
interfaces
Idialogservice

@univerjs/ui v0.4.2Docs


Interface: IDialogService

Methods

close()

close(id): void

Parameters

ParameterType
idstring

Returns

void

Defined in

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


closeAll()

closeAll(expectIds?): void

Parameters

ParameterTypeDescription
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

ParameterType
paramsIDialogPartMethodOptions

Returns

IDisposable

Defined in

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


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