Skip to content

Commit

Permalink
Merge pull request #747 from luckylooke/patch-1
Browse files Browse the repository at this point in the history
links to docs
  • Loading branch information
radiolips committed Sep 5, 2017
2 parents 230e91f + 8eb8036 commit 74b1875
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/README.md
Expand Up @@ -90,12 +90,12 @@ gridstack.js API
- `verticalMargin` - vertical gap size (default: `20`). Can be:
- an integer (px)
- a string (ex: '2em', '20px', '2rem')
- `width` - amount of columns (default: `12`)
- `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).

## Grid attributes

- `data-gs-animate` - turns animation on
- `data-gs-width` - amount of columns
- `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).
- `data-gs-height` - maximum rows amount. Default is `0` which means no maximum rows.
- `data-gs-current-height` - current rows amount. Set by the library only. Can be used by the CSS rules.

Expand Down

0 comments on commit 74b1875

Please sign in to comment.