Skip to content

Commit

Permalink
Adding new aria properties to extHostModelView (microsoft#6881)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjin authored Aug 23, 2019
1 parent bb4248c commit 5b75061
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/sql/workbench/api/common/extHostModelView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1153,6 +1153,20 @@ class TableComponentWrapper extends ComponentWrapper implements azdata.TableComp
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 {
return this.properties['moveFocusOutWithTab'];
}
Expand Down Expand Up @@ -1324,6 +1338,13 @@ class ButtonWrapper extends ComponentWrapper implements azdata.ButtonComponent {
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> {
let emitter = this._emitterMap.get(ComponentEventType.onDidClick);
return emitter && emitter.event;
Expand Down

0 comments on commit 5b75061

Please sign in to comment.