Update Component API properties (#7694)

This commit is contained in:
Charles Gagnon
2019-10-11 13:33:35 -07:00
committed by GitHub
parent 0d2a3bc2d7
commit 2623e7da88
2 changed files with 19 additions and 17 deletions

17
src/sql/azdata.d.ts vendored
View File

@@ -2592,7 +2592,7 @@ declare module 'azdata' {
removeFormItem(formComponent: FormComponent | FormComponentGroup): boolean;
}
export interface Component {
export interface Component extends ComponentProperties {
readonly id: string;
/**
@@ -2618,13 +2618,6 @@ declare module 'azdata' {
*/
updateCssStyles(cssStyles: { [key: string]: string }): Thenable<void>;
enabled: boolean;
/**
* Corresponds to the display CSS property for the element
*/
display: DisplayType;
/**
* Event fired to notify that the component's validity has changed
*/
@@ -2995,6 +2988,14 @@ declare module 'azdata' {
* Without this the component will fail to correctly size itself
*/
position?: PositionType;
/**
* Whether the component is enabled in the DOM
*/
enabled?: boolean;
/**
* Corresponds to the display CSS property for the element
*/
display?: DisplayType;
/**
* Matches the CSS style key and its available values.
*/