You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[isAreaEmpty(x, y, width, height)](#isareaemptyx-y-width-height)
47
46
-[locked(el, val)](#lockedel-val)
47
+
-[makeWidget(el)](#makewidgetel)
48
48
-[minWidth(el, val)](#minwidthel-val)
49
49
-[minHeight(el, val)](#minheightel-val)
50
50
-[movable(el, val)](#movableel-val)
@@ -295,23 +295,6 @@ var grid = $('.grid-stack').data('gridstack');
295
295
grid.addWidget(el, 0, 0, 3, 2, true);
296
296
```
297
297
298
-
### makeWidget(el)
299
-
300
-
If you add elements to your gridstack container by hand, you have to tell gridstack afterwards to make them widgets. If you want gridstack to add the elements for you, use `add_widget` instead.
Initailizes batch updates. You will see no changes until `commit` method is called.
@@ -380,6 +363,23 @@ Locks/unlocks widget.
380
363
-`el` - widget to modify.
381
364
-`val` - if `true` widget will be locked.
382
365
366
+
### makeWidget(el)
367
+
368
+
If you add elements to your gridstack container by hand, you have to tell gridstack afterwards to make them widgets. If you want gridstack to add the elements for you, use `add_widget` instead.
0 commit comments