diff --git a/README.md b/README.md index 0fb2525..8856ee2 100644 --- a/README.md +++ b/README.md @@ -442,7 +442,7 @@ Changes - RTL support - `'auto'` value for `cellHeight` option - fix `setStatic` method -- add `setAnimate` method to API +- add `setAnimation` method to API #### v0.2.4 (2016-02-15) diff --git a/doc/README.md b/doc/README.md index 43032d4..fa43bf7 100644 --- a/doc/README.md +++ b/doc/README.md @@ -42,7 +42,7 @@ gridstack.js API - [removeAll()](#removeall) - [resize(el, width, height)](#resizeel-width-height) - [resizable(el, val)](#resizableel-val) - - [setAnimate(doAnimate)](#setanimatedoanimate) + - [setAnimation(doAnimate)](#setanimationdoanimate) - [setStatic(staticValue)](#setstaticstaticvalue) - [update(el, x, y, width, height)](#updateel-x-y-width-height) - [willItFit(x, y, width, height, autoPosition)](#willitfitx-y-width-height-autoposition) @@ -366,7 +366,7 @@ Enables/Disables resizing. - `el` - widget to modify - `val` - if `true` widget will be resizable. -### setAnimate(doAnimate) +### setAnimation(doAnimate) Toggle the grid animation state. Toggles the `grid-stack-animate` class.