From 889e4d200c8891aaad9f30b827e7acd65da94e54 Mon Sep 17 00:00:00 2001 From: mathuo <6710312+mathuo@users.noreply.github.com> Date: Mon, 19 Feb 2024 20:57:15 +0000 Subject: [PATCH] feat: events --- packages/dockview-core/src/dockview/dockviewComponent.ts | 2 ++ packages/dockview-core/src/index.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/packages/dockview-core/src/dockview/dockviewComponent.ts b/packages/dockview-core/src/dockview/dockviewComponent.ts index dc86986c8..85fd407f8 100644 --- a/packages/dockview-core/src/dockview/dockviewComponent.ts +++ b/packages/dockview-core/src/dockview/dockviewComponent.ts @@ -1374,6 +1374,8 @@ export class DockviewComponent throw err; } + this.updateWatermark(); + this._onDidLayoutFromJSON.fire(); } diff --git a/packages/dockview-core/src/index.ts b/packages/dockview-core/src/index.ts index 861060908..15eba86d3 100644 --- a/packages/dockview-core/src/index.ts +++ b/packages/dockview-core/src/index.ts @@ -22,6 +22,7 @@ export { export * from './paneview/paneview'; export * from './gridview/gridview'; +export { GridviewComponentOptions } from './gridview/options'; export * from './dockview/dockviewGroupPanelModel'; export * from './gridview/baseComponentGridview';