Merge pull request #26865 from Rick-Kirkham/undocumented-dialog-method

documenting an internal method because 3rd party devs will see it in …
This commit is contained in:
Paul van Brenk
2018-06-27 10:24:43 -07:00
committed by GitHub
+5 -1
View File
@@ -685,7 +685,7 @@ declare namespace Office {
*
* @param startAddress - Accepts the initial HTTPS URL that opens in the dialog.
* @param options - Optional. Accepts an {@link Office.DialogOptions} object to define dialog display.
* @param callback - Optional. Accepts a callback method to handle the dialog creation attempt. If successful, the AsyncResult.value is a DialogHandler object.
* @param callback - Optional. Accepts a callback method to handle the dialog creation attempt. If successful, the AsyncResult.value is a Dialog object.
*/
displayDialogAsync(startAddress: string, options?: DialogOptions, callback?: (result: AsyncResult) => void): void;
/**
@@ -1132,6 +1132,10 @@ declare namespace Office {
* - DialogEventReceived. Triggered when the dialog box has been closed or otherwise unloaded.
*/
addEventHandler(eventType: Office.EventType, handler: Function): void;
/**
* FOR INTERNAL USE ONLY. DO NOT CALL IN YOUR CODE.
*/
sendMessage(name: string): void;
}
}