Skip to content

Commit 93d0865

Browse files
authored
Update signature of resize event in README
1 parent 41a37c9 commit 93d0865

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,8 @@ Working example [here](https://jbaysolutions.github.io/vue-grid-layout/examples/
442442
Every time an item is being resized and changes size
443443

444444
```javascript
445-
resizeEvent: function(i, newH, newW){
446-
console.log("RESIZE i=" + i + ", H=" + newH + ", W=" + newW);
445+
resizeEvent: function(i, newH, newW, newHPx, newWPx){
446+
console.log("RESIZE i=" + i + ", H=" + newH + ", W=" + newW + ", H(px)=" + newHPx + ", W(px)=" + newWPx);
447447
},
448448
```
449449

0 commit comments

Comments
 (0)