mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
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:
Vendored
+5
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user