Add setVisible to iFrame control

This commit is contained in:
Derek Finlinson
2017-02-24 13:18:26 -07:00
parent c62ed71c76
commit b140f34dbd
+14 -1
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.