1- # gridstack v12.3.3-dev
1+ # gridstack v12.4.0
22
33## Classes
44
@@ -113,7 +113,7 @@ Construct a grid item from the given element and options
113113protected _updateResizeEvent(forceRemove): GridStack;
114114```
115115
116- Defined in: [gridstack.ts:2084 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2084 )
116+ Defined in: [gridstack.ts:2085 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2085 )
117117
118118add or remove the grid element size event handler
119119
@@ -427,7 +427,7 @@ Destroys a grid instance. DO NOT CALL any methods or access any vars after this
427427disable(recurse): GridStack;
428428```
429429
430- Defined in: [gridstack.ts:2285 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2285 )
430+ Defined in: [gridstack.ts:2286 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2286 )
431431
432432Temporarily disables widgets moving/resizing.
433433If you want a more permanent way (which freezes up resources) use `setStatic(true)` instead.
@@ -468,7 +468,7 @@ grid.disable(false);
468468enable(recurse): GridStack;
469469```
470470
471- Defined in: [gridstack.ts:2312 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2312 )
471+ Defined in: [gridstack.ts:2313 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2313 )
472472
473473Re-enables widgets moving/resizing - see disable().
474474Note: This is a no-op for static grids.
@@ -507,7 +507,7 @@ grid.enable(false);
507507enableMove(doEnable, recurse): GridStack;
508508```
509509
510- Defined in: [gridstack.ts:2338 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2338 )
510+ Defined in: [gridstack.ts:2339 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2339 )
511511
512512Enables/disables widget moving for all widgets. No-op for static grids.
513513Note: locally defined items (with noMove property) still override this setting.
@@ -544,7 +544,7 @@ grid.enableMove(true, false);
544544enableResize(doEnable, recurse): GridStack;
545545```
546546
547- Defined in: [gridstack.ts:2366 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2366 )
547+ Defined in: [gridstack.ts:2367 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2367 )
548548
549549Enables/disables widget resizing for all widgets. No-op for static grids.
550550Note: locally defined items (with noResize property) still override this setting.
@@ -686,7 +686,7 @@ const columnCount = grid.getColumn(); // returns 12 by default
686686static getDD(): DDGridStack;
687687```
688688
689- Defined in: [gridstack.ts:2182 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2182 )
689+ Defined in: [gridstack.ts:2183 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2183 )
690690
691691Get the global drag & drop implementation instance.
692692This provides access to the underlying drag & drop functionality.
@@ -759,7 +759,7 @@ items.forEach(item => {
759759getMargin(): number;
760760```
761761
762- Defined in: [gridstack.ts:1790 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1790 )
762+ Defined in: [gridstack.ts:1791 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1791 )
763763
764764Returns the current margin value as a number (undefined if the 4 sides don't match).
765765This only returns a number if all sides have the same margin value.
@@ -1063,7 +1063,7 @@ grid.makeWidget(element, {x: 0, y: 1, w: 4, h: 2});
10631063margin(value): GridStack;
10641064```
10651065
1066- Defined in: [gridstack.ts:1761 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1761 )
1066+ Defined in: [gridstack.ts:1762 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1762 )
10671067
10681068Updates the margins which will set all 4 sides at once - see `GridStackOptions.margin` for format options.
10691069Supports CSS string format of 1, 2, or 4 values or a single number.
@@ -1094,7 +1094,7 @@ grid.margin('5px 10px 15px 20px'); // Different for each side
10941094movable(els, val): GridStack;
10951095```
10961096
1097- Defined in: [gridstack.ts:2226 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2226 )
1097+ Defined in: [gridstack.ts:2227 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2227 )
10981098
10991099Enables/Disables dragging by the user for specific grid elements.
11001100For all items and future items, use enableMove() instead. No-op for static grids.
@@ -1430,7 +1430,7 @@ grid.on('added', (event, items) => {
14301430onResize(clientWidth): GridStack;
14311431```
14321432
1433- Defined in: [gridstack.ts:2023 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2023 )
1433+ Defined in: [gridstack.ts:2024 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2024 )
14341434
14351435called when we are being resized - check if the one Column Mode needs to be turned on/off
14361436and remember the prev columns we used, or get our count from parent, as well as check for cellHeight==='auto' (square)
@@ -1452,7 +1452,7 @@ or `sizeToContent` gridItem options.
14521452prepareDragDrop(el, force?): GridStack;
14531453```
14541454
1455- Defined in: [gridstack.ts:2709 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2709 )
1455+ Defined in: [gridstack.ts:2710 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2710 )
14561456
14571457prepares the element for drag&drop - this is normally called by makeWidget() unless are are delay loading
14581458
@@ -1562,7 +1562,7 @@ Removes widget from the grid.
15621562resizable(els, val): GridStack;
15631563```
15641564
1565- Defined in: [gridstack.ts:2252 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2252 )
1565+ Defined in: [gridstack.ts:2253 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2253 )
15661566
15671567Enables/Disables user resizing for specific grid elements.
15681568For all items and future items, use enableResize() instead. No-op for static grids.
@@ -1596,7 +1596,7 @@ grid.resizable('#fixed-size-widget', false);
15961596resizeToContent(el): void;
15971597```
15981598
1599- Defined in: [gridstack.ts:1651 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1651 )
1599+ Defined in: [gridstack.ts:1652 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1652 )
16001600
16011601Updates widget height to match the content height to avoid vertical scrollbars or dead space.
16021602This automatically adjusts the widget height based on its content size.
@@ -1632,7 +1632,7 @@ grid.resizeToContent(widget);
16321632rotate(els, relative?): GridStack;
16331633```
16341634
1635- Defined in: [gridstack.ts:1726 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1726 )
1635+ Defined in: [gridstack.ts:1727 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1727 )
16361636
16371637Rotate widgets by swapping their width and height. This is typically called when the user presses 'r' during dragging.
16381638The rotation swaps the w/h dimensions and adjusts min/max constraints accordingly.
@@ -1749,7 +1749,7 @@ static setupDragIn(
17491749 root?): void;
17501750```
17511751
1752- Defined in: [gridstack.ts:2195 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2195 )
1752+ Defined in: [gridstack.ts:2196 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2196 )
17531753
17541754call to setup dragging in from the outside (say toolbar), by specifying the class selection and options.
17551755Called during GridStack.init() as options, but can also be called directly (last param are used) in case the toolbar
@@ -1774,7 +1774,7 @@ is dynamically create and needs to be set later.
17741774protected triggerEvent(event, target): void;
17751775```
17761776
1777- Defined in: [gridstack.ts:2963 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2963 )
1777+ Defined in: [gridstack.ts:2964 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2964 )
17781778
17791779call given event callback on our main top-most grid (if we're nested)
17801780
@@ -1795,7 +1795,7 @@ call given event callback on our main top-most grid (if we're nested)
17951795update(els, opt): GridStack;
17961796```
17971797
1798- Defined in: [gridstack.ts:1547 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1547 )
1798+ Defined in: [gridstack.ts:1548 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1548 )
17991799
18001800Updates widget position/size and other info. This is used to change widget properties after creation.
18011801Can update position, size, content, and other widget properties.
@@ -1860,7 +1860,7 @@ Updates the passed in options on the grid (similar to update(widget) for for the
18601860willItFit(node): boolean;
18611861```
18621862
1863- Defined in: [gridstack.ts:1804 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1804 )
1863+ Defined in: [gridstack.ts:1805 ](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1805 )
18641864
18651865Returns true if the height of the grid will be less than the vertical
18661866constraint. Always returns true if grid doesn't have height constraint.
0 commit comments