Skip to content

Commit 7140c0f

Browse files
authored
Merge pull request jbaysolutions#394 from ben-lau/ben-lau
trigger layout-update when layout updated
2 parents 64772d0 + 23f4217 commit 7140c0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/GridLayout.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,8 @@
273273
compact(this.layout, this.verticalCompact);
274274
this.eventBus.$emit("updateWidth", this.width);
275275
this.updateHeight();
276+
277+
this.$emit('layout-updated'this.layout)
276278
}
277279
},
278280
updateHeight: function () {

0 commit comments

Comments
 (0)