Merge pull request #106 from mathuo/104-api-enhancements

feat: rename public api method to more suitable names
This commit is contained in:
mathuo 2022-05-11 22:00:38 +01:00 committed by GitHub
commit 0693c49098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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