mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Webresources and Iframes have getContentWindow method (#43449)
Co-authored-by: Phil Cole <pcole@ebecs.com>
This commit is contained in:
parent
191c20e649
commit
52c902706e
9
types/xrm/index.d.ts
vendored
9
types/xrm/index.d.ts
vendored
@ -3138,6 +3138,15 @@ declare namespace Xrm {
|
||||
* appropriate. Silverlight controls should use {@link SilverlightControl}.
|
||||
*/
|
||||
interface FramedControl extends Control {
|
||||
/**
|
||||
* Returns the content window that represents an IFRAME or web resource.
|
||||
* @returns A promise that contains a content window instance representing an IFRAME or web resource.
|
||||
* @remarks This method is supported only on Unified Interface. The implementer is expected to call
|
||||
* a custom function within the returned window that will receive the Xrm and formContext objects as
|
||||
* parameters.
|
||||
*/
|
||||
getContentWindow(): Promise<Window>;
|
||||
|
||||
/**
|
||||
* Gets the DOM element containing the control.
|
||||
* @returns The container object.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user