Skip to content

Commit 601b5d5

Browse files
committed
setGridWidth api documentation udpdate
1 parent c309856 commit 601b5d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,11 +413,12 @@ Toggle the grid animation state. Toggles the `grid-stack-animate` class.
413413

414414
- `doAnimate` - if `true` the grid will animate.
415415

416-
### setGridWidth(gridWidth)
416+
### setGridWidth(gridWidth, doNotPropagate)
417417

418418
(Experimental) Modify number of columns in the grid. Will attempt to update existing widgets to conform to new number of columns. Requires `gridstack-extra.css` or `gridstack-extra.min.css`.
419419

420420
- `gridWidth` - Integer between 1 and 12.
421+
- `doNotPropagate` - if true existing widgets will not be updated.
421422

422423
### setStatic(staticValue)
423424

0 commit comments

Comments
 (0)