mirror of
https://github.com/mathuo/dockview
synced 2025-11-20 14:32:53 +00:00
Merge pull request #294 from mathuo/293-expose-removepanel-methods-in-api
feat: expose removepanel on dockviewapi
This commit is contained in:
commit
30e035b2f3
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user