Releases: gridstack/gridstack.js
Releases · gridstack/gridstack.js
v9.2.1
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.