mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-16 17:22:29 -05:00
Tables in Extensions need a way to override tab so that tabbing in table cells is not possible and tabbing takes control out of Table - this is the accessibility requirement for tables not having actionable cells. Keeping it as a switch so that we can continue having older behavior where needed.
This commit is contained in:
@@ -1146,6 +1146,13 @@ class TableComponentWrapper extends ComponentWrapper implements azdata.TableComp
|
||||
this.setProperty('title', v);
|
||||
}
|
||||
|
||||
public get moveFocusOutWithTab(): boolean {
|
||||
return this.properties['moveFocusOutWithTab'];
|
||||
}
|
||||
public set moveFocusOutWithTab(v: boolean) {
|
||||
this.setProperty('moveFocusOutWithTab', v);
|
||||
}
|
||||
|
||||
public get onRowSelected(): vscode.Event<any> {
|
||||
let emitter = this._emitterMap.get(ComponentEventType.onSelectedRowChanged);
|
||||
return emitter && emitter.event;
|
||||
|
||||
Reference in New Issue
Block a user