mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 01:25:36 -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:
@@ -146,4 +146,8 @@ export abstract class ViewBase extends AngularDisposable implements IModelView {
|
||||
public setDataProvider(handle: number, componentId: string, context: any): any {
|
||||
return this.queueAction(componentId, (component) => component.setDataProvider(handle, componentId, context));
|
||||
}
|
||||
|
||||
public focus(componentId: string): void {
|
||||
return this.queueAction(componentId, (component) => component.focus());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user