@@ -42,6 +42,7 @@ gridstack.js API
4242 - [ removeAll()] ( #removeall )
4343 - [ resize(el, width, height)] ( #resizeel-width-height )
4444 - [ resizable(el, val)] ( #resizableel-val )
45+ - [ setAnimation(doAnimate)] ( #setanimationdoanimate )
4546 - [ setStatic(staticValue)] ( #setstaticstaticvalue )
4647 - [ update(el, x, y, width, height)] ( #updateel-x-y-width-height )
4748 - [ willItFit(x, y, width, height, autoPosition)] ( #willitfitx-y-width-height-autoposition )
@@ -365,11 +366,17 @@ Enables/Disables resizing.
365366- ` el ` - widget to modify
366367- ` val ` - if ` true ` widget will be resizable.
367368
369+ ### setAnimation(doAnimate)
370+
371+ Toggle the grid animation state. Toggles the ` grid-stack-animate ` class.
372+
373+ - ` doAnimate ` - if ` true ` the grid will animate.
374+
368375### setStatic(staticValue)
369376
370377Toggle the grid static state. Also toggle the ` grid-stack-static ` class.
371378
372- - ` staticValue ` - if ` true ` the grid become static.
379+ - ` staticValue ` - if ` true ` the grid becomes static.
373380
374381### update(el, x, y, width, height)
375382
0 commit comments