update docs

This commit is contained in:
Pavel Reznikov 2014-12-04 21:00:15 -08:00
parent e1b57d8a77
commit ecb14ce759

View file

@ -51,21 +51,23 @@ $(function () {
## Options
- `auto` - if `false` it tells to do not initialize existing items (default: true)
- `cell_height` - one cell height (default: 60)
- `animate` - turns animation on (default: `false`)
- `auto` - if `false` it tells to do not initialize existing items (default: `true`)
- `cell_height` - one cell height (default: `60`)
- `handle` - draggable handle selector (default: '.grid-stack-item-content')
- `height` - maximum rows amount. Default is `0` which means no maximum rows
- `float` - enable floating widgets (default: false)
- `float` - enable floating widgets (default: `false`)
- `item_class` - widget class (default: 'grid-stack-item')
- `min_width` - minimal width. If window width is less grid will be shown in one-column mode (default: 768)
- `min_width` - minimal width. If window width is less grid will be shown in one-column mode (default: `768`)
- `placeholder_class` - class for placeholder (default: 'grid-stack-placeholder')
- `vertical_margin` - vertical gap size (default: 20)
- `width` - amount of columns (default: 12)
- `vertical_margin` - vertical gap size (default: `20`)
- `width` - amount of columns (default: `12`)
## Grid attributes
- `data-gs-width` - amount of columns
- `data-gs-height` - maximum rows amount. Default is `0` which means no maximum rows.
- `data-gs-animate` - turns animation on
- `data-gs-width` - amount of columns
- `data-gs-height` - maximum rows amount. Default is `0` which means no maximum rows.
## Item attributes
@ -263,6 +265,7 @@ Changes
#### v0.2.1 (Current development version)
- add animation (thanks to @ishields)
- fix `y` coordinate calculation when dragging (issue #18)
- fix `remove_widget` (issue #16)