Skip to content

Commit fd7a5c0

Browse files
authored
Merge pull request jbaysolutions#328 from grinat/feat/watchers-for-min-max
feat: watchers for min/max height and width
2 parents 0ccd36d + cbff61a commit fd7a5c0

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)