Releases: gridstack/gridstack.js
Releases · gridstack/gridstack.js
v9.2.0
v9.1.1
v9.1.0
- renamed fitToContent to sizeToContent (API BREAK)
- feat:
sizeToContent
now supports beingboolean|number
to limit the height but user can resize past that, unlike maxH. - feat:
resizeToContentParent
now on GridStackWidget as well as globally for those widgets that need to resize differently.
v9.0.2
v9.0.1
v9.0.0
- feat #404 added
GridStackOptions.fitToContent
andGridStackWidget.fitToContent
to make gridItems size themselves to their content (no scroll bar), callingGridStack.resizeToContent(el)
whenever the grid or item is resized. - also added new
'resizecontent'
event, andresizeToContentCB
andresizeToContentParent
vars. - fix #2406 inf loop when autoPosition after loading into 1 column, then 2.
v8.4.0
- feat #2378 attribute
DDRemoveOpt.decline
to deny the removal of a specific class. - fix: dragging onto trash now calls removeWidget() and therefore
GridStack.addRemoveCB
(for component cleanup) - feat:
load()
support re-order loading without explicit coordinates (autoPosition
or missingx,y
) uses passed order.
v8.3.0
v8.2.3
v8.2.1
- fix: make sure
removeNode()
uses internal _id (unique) and not node itself (since we clone those often) - fix: after calling
addRemoveCB
make sure we don't makeWidget() (incorrectly) a second time - break:
GridStackWidget.id
is now string only (used to be numberOrString) as it causes usage to have to check and cast