mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Add setVisible to iFrame control (#14855)
This commit is contained in:
parent
ade29a018c
commit
20b7ef9c56
15
xrm/index.d.ts
vendored
15
xrm/index.d.ts
vendored
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user