feat: expose removepanel on dockviewapi

This commit is contained in:
mathuo 2023-07-10 21:11:48 +01:00
parent 2dbfda25e9
commit f32cb06056
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281

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);
}