diff --git a/README.md b/README.md index dc4eaff..40fb222 100644 --- a/README.md +++ b/README.md @@ -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)