Skip to content

Commit cbff61a

Browse files
committed
feat: watchers for min/max height and width
1 parent 9e13ea9 commit cbff61a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/components/GridItem.vue

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,18 @@
354354
// console.log("### renderRtl");
355355
this.tryMakeResizable();
356356
this.createStyle();
357+
},
358+
minH: function () {
359+
this.tryMakeResizable();
360+
},
361+
maxH: function () {
362+
this.tryMakeResizable();
363+
},
364+
minW: function () {
365+
this.tryMakeResizable();
366+
},
367+
maxW: function () {
368+
this.tryMakeResizable();
357369
}
358370
},
359371
computed: {

0 commit comments

Comments
 (0)