Commit ecb14ce7 authored by Pavel Reznikov's avatar Pavel Reznikov
Browse files

update docs

parent e1b57d8a
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment