mirror of
https://github.com/mathuo/dockview
synced 2025-05-04 18:48:26 +00:00
Merge pull request #106 from mathuo/104-api-enhancements
feat: rename public api method to more suitable names
This commit is contained in:
commit
0693c49098
@ -245,15 +245,15 @@ export class GridviewApi implements CommonApi<SerializedGridview> {
|
|||||||
return this.component.onDidLayoutChange;
|
return this.component.onDidLayoutChange;
|
||||||
}
|
}
|
||||||
|
|
||||||
get onDidAddGroup(): Event<IGridviewPanel> {
|
get onDidAddPanel(): Event<IGridviewPanel> {
|
||||||
return this.component.onDidAddGroup;
|
return this.component.onDidAddGroup;
|
||||||
}
|
}
|
||||||
|
|
||||||
get onDidRemoveGroup(): Event<IGridviewPanel> {
|
get onDidRemovePanel(): Event<IGridviewPanel> {
|
||||||
return this.component.onDidRemoveGroup;
|
return this.component.onDidRemoveGroup;
|
||||||
}
|
}
|
||||||
|
|
||||||
get onDidActiveGroupChange(): Event<IGridviewPanel | undefined> {
|
get onDidActivePanelChange(): Event<IGridviewPanel | undefined> {
|
||||||
return this.component.onDidActiveGroupChange;
|
return this.component.onDidActiveGroupChange;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user