IHostDialogService

Last Update: 9/26/2016

Defined in vss.d.ts

Service which manages showing dialogs in the parent frame

Members

  • openDialog: (contributionId: string, dialogOptions: IHostDialogOptions, contributionConfig: Object, postContent: Object): IPromise<IExternalDialog>. Open a modal dialog in the host frame which will get its content from a contributed control.

  • openMessageDialog: (message: string, options: IOpenMessageDialogOptions): IPromise<IMessageDialogResult>. Open a modal dialog in the host frame which will display the supplied message.