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

Skip to content

Commit 7bab2f9

Browse files
committed
height option
1 parent f3feee8 commit 7bab2f9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Usage
5454
- `auto` - if `false` it tells to do not initialize existing items (default: true)
5555
- `cell_height` - one cell height (default: 60)
5656
- `handle` - draggable handle selector (default: '.grid-stack-item-content')
57+
- `height` - maximum rows amount. Default is `0` which means no maximum rows
5758
- `float` - enable floating widgets (default: false)
5859
- `item_class` - widget class (default: 'grid-stack-item')
5960
- `min_width` - minimal width. If window width is less grid will be shown in one-column mode (default: 768)
@@ -64,6 +65,7 @@ Usage
6465
## Grid attributes
6566

6667
- `data-gs-width` - amount of columns
68+
- `data-gs-height` - maximum rows amount. Default is `0` which means no maximum rows.
6769

6870
## Item attributes
6971

@@ -261,6 +263,7 @@ Changes
261263

262264
#### v0.1.1 (development version)
263265

266+
- add `height` option
264267
- auto-generate css rules (widgets `height` and `top`)
265268
- add `GridStackUI.Utils.sort` utility function
266269
- add `remove_all` API method
@@ -269,6 +272,7 @@ Changes
269272
- add `data-gs-no-move` attribute
270273
- add `float` option
271274
- fix default css rule for inner content
275+
- minor fixes
272276

273277
#### v0.1.0 (2014-11-18)
274278

0 commit comments

Comments
 (0)