mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 04:01:52 +00:00
addTabStateChange & removeTabStateChange added
This commit is contained in:
Vendored
+12
@@ -3270,6 +3270,12 @@ declare namespace Xrm {
|
||||
* @see {@link UiFocusable}
|
||||
*/
|
||||
interface Tab extends UiStandardElement, UiFocusable {
|
||||
/**
|
||||
* Adds a function to be called when the TabStateChange event occurs.
|
||||
* @param handler The function to be executed on the TabStateChange event.
|
||||
*/
|
||||
addTabStateChange(handler: Events.ContextSensitiveHandler): void;
|
||||
|
||||
/**
|
||||
* Gets display state of the tab.
|
||||
* @returns The display state, as either "expanded" or "collapsed"
|
||||
@@ -3288,6 +3294,12 @@ declare namespace Xrm {
|
||||
*/
|
||||
getParent(): Ui;
|
||||
|
||||
/**
|
||||
* Removes a function to be called when the TabStateChange event occurs.
|
||||
* @param handler The function to be removed from the TabStateChange event.
|
||||
*/
|
||||
removeTabStateChange(handler: Events.ContextSensitiveHandler): void;
|
||||
|
||||
/**
|
||||
* Sets display state of the tab.
|
||||
* @param displayState Display state of the tab, as either "expanded" or "collapsed"
|
||||
|
||||
Reference in New Issue
Block a user