mirror of
https://github.com/mathuo/dockview
synced 2025-11-21 06:52:51 +00:00
feat: expose removepanel on dockviewapi
This commit is contained in:
parent
2dbfda25e9
commit
f32cb06056
@ -435,6 +435,10 @@ export class DockviewApi implements CommonApi<SerializedDockview> {
|
|||||||
return this.component.addPanel(options);
|
return this.component.addPanel(options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
removePanel(panel: IDockviewPanel): void {
|
||||||
|
this.component.removePanel(panel);
|
||||||
|
}
|
||||||
|
|
||||||
addGroup(options?: AddGroupOptions): DockviewGroupPanel {
|
addGroup(options?: AddGroupOptions): DockviewGroupPanel {
|
||||||
return this.component.addGroup(options);
|
return this.component.addGroup(options);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user