Merge pull request #294 from mathuo/293-expose-removepanel-methods-in-api

feat: expose removepanel on dockviewapi
This commit is contained in:
mathuo 2023-07-10 21:12:34 +01:00 committed by GitHub
commit 30e035b2f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -435,6 +435,10 @@ export class DockviewApi implements CommonApi<SerializedDockview> {
return this.component.addPanel(options);
}
removePanel(panel: IDockviewPanel): void {
this.component.removePanel(panel);
}
addGroup(options?: AddGroupOptions): DockviewGroupPanel {
return this.component.addGroup(options);
}