mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 09:35:37 -05:00
Add focus function for modelview components (#8348)
* Add focus method for modelview components * Remove focus properties from table and radiobutton * Fix break
This commit is contained in:
7
src/sql/azdata.d.ts
vendored
7
src/sql/azdata.d.ts
vendored
@@ -2646,6 +2646,11 @@ declare module 'azdata' {
|
||||
* Run the component's validations
|
||||
*/
|
||||
validate(): Thenable<boolean>;
|
||||
|
||||
/**
|
||||
* Focuses the component.
|
||||
*/
|
||||
focus(): Thenable<void>;
|
||||
}
|
||||
|
||||
export interface FormComponent {
|
||||
@@ -3088,7 +3093,6 @@ declare module 'azdata' {
|
||||
ariaRowCount?: number;
|
||||
ariaColumnCount?: number;
|
||||
ariaRole?: string;
|
||||
focused?: boolean;
|
||||
updateCells?: TableCell[];
|
||||
moveFocusOutWithTab?: boolean; //accessibility requirement for tables with no actionable cells
|
||||
}
|
||||
@@ -3123,7 +3127,6 @@ declare module 'azdata' {
|
||||
label?: string;
|
||||
value?: string;
|
||||
checked?: boolean;
|
||||
focused?: boolean;
|
||||
}
|
||||
|
||||
export interface TextComponentProperties extends ComponentProperties, TitledComponentProperties {
|
||||
|
||||
Reference in New Issue
Block a user