From 4b7cc8d24b45a3b6b85e21f5b23949d065a8875f Mon Sep 17 00:00:00 2001 From: Dylan Weiss Date: Sat, 20 Feb 2016 09:56:03 -0500 Subject: [PATCH] Typo. --- README.md | 2 +- doc/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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.