Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 74b1875

Browse files
authored
Merge pull request gridstack#747 from luckylooke/patch-1
links to docs
2 parents 230e91f + 8eb8036 commit 74b1875

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ gridstack.js API
9090
- `verticalMargin` - vertical gap size (default: `20`). Can be:
9191
- an integer (px)
9292
- a string (ex: '2em', '20px', '2rem')
93-
- `width` - amount of columns (default: `12`)
93+
- `width` - amount of columns (default: `12`). Setting non-default value must be supported by equivalent change in CSS, [see docs here](https://github.com/troolee/gridstack.js#change-grid-width).
9494

9595
## Grid attributes
9696

9797
- `data-gs-animate` - turns animation on
98-
- `data-gs-width` - amount of columns
98+
- `data-gs-width` - amount of columns. Setting non-default value must be supported by equivalent change in CSS, [see docs here](https://github.com/troolee/gridstack.js#change-grid-width).
9999
- `data-gs-height` - maximum rows amount. Default is `0` which means no maximum rows.
100100
- `data-gs-current-height` - current rows amount. Set by the library only. Can be used by the CSS rules.
101101

0 commit comments

Comments
 (0)