Skip to content

Commit 3bb5318

Browse files
committed
fixes of README typos and removed redundant new line from GridLayout to minimize changes to master
1 parent fed1878 commit 3bb5318

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ Include the browser-ready bundle (download from [releases](https://github.com/jb
182182
* default : `{}`
183183

184184
This is the initial layouts of the grid per breakpoint if `responsive` is set to `true`.
185-
The `Object` keys are breakpoint names and each values is an `Array` of `Object` items as defined by `layout` prop. eg:{ lg:[layout items], md:[layout items] }.
186-
If it is set after the layout creation, it replaces the layout configuration in all breakpoints
185+
The keys of the `Object` are breakpoint names and each value is an `Array` of `Object` items as defined by `layout` prop. eg:{ lg:[layout items], md:[layout items] }.
186+
Setting the prop after the creation of the GridLayout has no effect.
187187

188188
* **colNum**
189189

@@ -641,7 +641,7 @@ Working example [here](https://jbaysolutions.github.io/vue-grid-layout/examples/
641641

642642
Breakpoint Changed event
643643

644-
Every time the breakpoint value changed due to window resize
644+
Every time the breakpoint value changes due to window resize
645645

646646
```javascript
647647
/**

src/components/GridLayout.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,6 @@
387387
388388
// finds or generates new layouts for set breakpoints
389389
responsiveGridLayout(){
390-
391390
let newBreakpoint = getBreakpointFromWidth(this.breakpoints, this.width);
392391
let newCols = getColsFromBreakpoint(newBreakpoint, this.cols);
393392

0 commit comments

Comments
 (0)