#114 Add setAnimate(doAnimate) to API docs.

This commit is contained in:
Dylan Weiss 2016-02-20 09:42:18 -05:00
parent c34777b2a0
commit 72432d0fa8
2 changed files with 9 additions and 1 deletions

View file

@ -441,6 +441,8 @@ Changes
- remove dependency of FontAwesome
- RTL support
- `'auto'` value for `cellHeight` option
- fix `setStatic` method
- add `setAnimate` method to API
#### v0.2.4 (2016-02-15)

View file

@ -365,11 +365,17 @@ Enables/Disables resizing.
- `el` - widget to modify
- `val` - if `true` widget will be resizable.
### setAnimate(doAnimate)
Toggle the grid animation state. Toggles the `grid-stack-animate` class.
- `doAnimate` - if `true` the grid will animate.
### setStatic(staticValue)
Toggle the grid static state. Also toggle the `grid-stack-static` class.
- `staticValue` - if `true` the grid become static.
- `staticValue` - if `true` the grid becomes static.
### update(el, x, y, width, height)