mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Adding new aria properties to extHostModelView (#6881)
This commit is contained in:
@@ -1153,6 +1153,20 @@ class TableComponentWrapper extends ComponentWrapper implements azdata.TableComp
|
|||||||
this.setProperty('title', v);
|
this.setProperty('title', v);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public get ariaRowCount(): number {
|
||||||
|
return this.properties['ariaRowCount'];
|
||||||
|
}
|
||||||
|
public set ariaRowCount(v: number) {
|
||||||
|
this.setProperty('ariaRowCount', v);
|
||||||
|
}
|
||||||
|
|
||||||
|
public get ariaColumnCount(): number {
|
||||||
|
return this.properties['ariaColumnCount'];
|
||||||
|
}
|
||||||
|
public set ariaColumnCount(v: number) {
|
||||||
|
this.setProperty('ariaColumnCount', v);
|
||||||
|
}
|
||||||
|
|
||||||
public get moveFocusOutWithTab(): boolean {
|
public get moveFocusOutWithTab(): boolean {
|
||||||
return this.properties['moveFocusOutWithTab'];
|
return this.properties['moveFocusOutWithTab'];
|
||||||
}
|
}
|
||||||
@@ -1324,6 +1338,13 @@ class ButtonWrapper extends ComponentWrapper implements azdata.ButtonComponent {
|
|||||||
this.setProperty('title', v);
|
this.setProperty('title', v);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public get ariaLabel(): string {
|
||||||
|
return this.properties['ariaLabel'];
|
||||||
|
}
|
||||||
|
public set ariaLabel(v: string) {
|
||||||
|
this.setProperty('ariaLabel', v);
|
||||||
|
}
|
||||||
|
|
||||||
public get onDidClick(): vscode.Event<any> {
|
public get onDidClick(): vscode.Event<any> {
|
||||||
let emitter = this._emitterMap.get(ComponentEventType.onDidClick);
|
let emitter = this._emitterMap.get(ComponentEventType.onDidClick);
|
||||||
return emitter && emitter.event;
|
return emitter && emitter.event;
|
||||||
|
|||||||
Reference in New Issue
Block a user