Add setVisible to iFrame control (#14855)

This commit is contained in:
Derek Finlinson 2017-03-10 15:47:39 -07:00 committed by Mohamed Hegazy
parent ade29a018c
commit 20b7ef9c56

15
xrm/index.d.ts vendored
View File

@ -1188,6 +1188,19 @@ declare namespace Xrm
getVisible(): boolean;
}
/**
* Interface for UI elements which can have the visibility value updated.
*/
export interface UiCanSetVisibleElement
{
/**
* Sets the visibility state.
*
* @param {boolean} visible true to show, false to hide.
*/
setVisible( visible: boolean ): void;
}
/**
* Base interface for standard UI elements.
*/
@ -2522,7 +2535,7 @@ declare namespace Xrm
*
* @sa FramedControl
*/
export interface IframeControl extends FramedControl
export interface IframeControl extends FramedControl, UiCanSetVisibleElement
{
/**
* Gets initial URL defined for the Iframe.