mirror of
https://github.com/mathuo/dockview
synced 2025-05-06 19:48:25 +00:00
chore: fix
This commit is contained in:
parent
77db3adbe9
commit
926272067a
@ -197,10 +197,6 @@ export class PaneviewApi implements CommonApi<SerializedPaneview> {
|
|||||||
|
|
||||||
constructor(private readonly component: IPaneviewComponent) {}
|
constructor(private readonly component: IPaneviewComponent) {}
|
||||||
|
|
||||||
addPanel(options: AddPaneviewComponentOptions): IPaneviewPanel {
|
|
||||||
return this.component.addPanel(options);
|
|
||||||
}
|
|
||||||
|
|
||||||
removePanel(panel: IPaneviewPanel): void {
|
removePanel(panel: IPaneviewPanel): void {
|
||||||
this.component.removePanel(panel);
|
this.component.removePanel(panel);
|
||||||
}
|
}
|
||||||
|
@ -110,10 +110,6 @@ export class SplitviewComponent
|
|||||||
return this._options;
|
return this._options;
|
||||||
}
|
}
|
||||||
|
|
||||||
get panels(): SplitviewPanel[] {
|
|
||||||
return this.splitview.getViews();
|
|
||||||
}
|
|
||||||
|
|
||||||
get length(): number {
|
get length(): number {
|
||||||
return this._panels.size;
|
return this._panels.size;
|
||||||
}
|
}
|
||||||
@ -160,10 +156,6 @@ export class SplitviewComponent
|
|||||||
: this.splitview.orthogonalSize;
|
: this.splitview.orthogonalSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
get length() {
|
|
||||||
return this._panels.size;
|
|
||||||
}
|
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private readonly element: HTMLElement,
|
private readonly element: HTMLElement,
|
||||||
options: SplitviewComponentOptions
|
options: SplitviewComponentOptions
|
||||||
|
Loading…
Reference in New Issue
Block a user