UNPKG

@microsoft/windows-admin-center-sdk

Version:

Microsoft - Windows Admin Center Shell

21 lines (20 loc) 650 B
import { Rpc } from '../rpc'; import { RpcDialogData, RpcDialogResult } from './rpc-dialog-model'; export declare class RpcDialogClient { /** * Elements that open a dialog, used for resuming focus */ private static dialogOrigins; /** * The dialog command. * * @param data the dialog data object. * @return Promise<RpcDialogResult> the promise object of dialog result. */ static dialog(rpc: Rpc, data: RpcDialogData): Promise<RpcDialogResult>; /** * Resume focus back to the original element that shows the dialog. * @param id The id of dialog */ private static resumeFocus; }