Releases: gridstack/gridstack.js
Releases · gridstack/gridstack.js
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
v8.2.0
v8.1.2
v8.1.1
v8.1.0
- break: remove
GridStackOptions.minWidth
obsolete since 5.1, useoneColumnSize
instead - optimize: CSS files now even 25% smaller (after being halfed in 8.0.0) by removing
.grid-stack
prefix for anything already gs based, and 3 digit rounding. - fix: #2275
setupDragIn()
signature tweaks (HTMLElement | Document) - feat: #2205 added
GridStackOptions.draggable.cancel
for list of selectors that should prevent item dragging