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

Skip to content

Commit ecb14ce

Browse files
committed
update docs
1 parent e1b57d8 commit ecb14ce

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,23 @@ $(function () {
5151

5252
## Options
5353

54-
- `auto` - if `false` it tells to do not initialize existing items (default: true)
55-
- `cell_height` - one cell height (default: 60)
54+
- `animate` - turns animation on (default: `false`)
55+
- `auto` - if `false` it tells to do not initialize existing items (default: `true`)
56+
- `cell_height` - one cell height (default: `60`)
5657
- `handle` - draggable handle selector (default: '.grid-stack-item-content')
5758
- `height` - maximum rows amount. Default is `0` which means no maximum rows
58-
- `float` - enable floating widgets (default: false)
59+
- `float` - enable floating widgets (default: `false`)
5960
- `item_class` - widget class (default: 'grid-stack-item')
60-
- `min_width` - minimal width. If window width is less grid will be shown in one-column mode (default: 768)
61+
- `min_width` - minimal width. If window width is less grid will be shown in one-column mode (default: `768`)
6162
- `placeholder_class` - class for placeholder (default: 'grid-stack-placeholder')
62-
- `vertical_margin` - vertical gap size (default: 20)
63-
- `width` - amount of columns (default: 12)
63+
- `vertical_margin` - vertical gap size (default: `20`)
64+
- `width` - amount of columns (default: `12`)
6465

6566
## Grid attributes
6667

67-
- `data-gs-width` - amount of columns
68-
- `data-gs-height` - maximum rows amount. Default is `0` which means no maximum rows.
68+
- `data-gs-animate` - turns animation on
69+
- `data-gs-width` - amount of columns
70+
- `data-gs-height` - maximum rows amount. Default is `0` which means no maximum rows.
6971

7072
## Item attributes
7173

@@ -263,6 +265,7 @@ Changes
263265

264266
#### v0.2.1 (Current development version)
265267

268+
- add animation (thanks to @ishields)
266269
- fix `y` coordinate calculation when dragging (issue #18)
267270
- fix `remove_widget` (issue #16)
268271

0 commit comments

Comments
 (0)