mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 09:35:37 -05:00
Add doAction API call for ModelView (#10345)
* Add doAction API call for ModelView * cleanup
This commit is contained in:
@@ -156,4 +156,8 @@ export abstract class ViewBase extends AngularDisposable implements IModelView {
|
||||
public focus(componentId: string): void {
|
||||
return this.queueAction(componentId, (component) => component.focus());
|
||||
}
|
||||
|
||||
public doAction(componentId: string, action: string, ...args: any[]): void {
|
||||
return this.queueAction(componentId, (component) => component.doAction(action, ...args));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user