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
* If you depended on this, use class `.grid-stack-1` instead of `.grid-stack-one-column-mode` since it is 1 column layout anyway
* updated jasmin test
* should have been done in #1120
Copy file name to clipboardExpand all lines: doc/CHANGES.md
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ Change log
31
31
## v0.6.2-dev (upcoming changes)
32
32
33
33
- fix [#1132](https://github.com/gridstack/gridstack.js/issues/1132) oneColumnMode missing CSS to do layout
34
+
- del `oneColumnModeClass` / `.grid-stack-one-column-mode` and associated code. If you depended on this, use class `.grid-stack-1` instead since it is 1 column layout anyway [1134](https://github.com/gridstack/gridstack.js/pull/1134)
34
35
35
36
## v0.6.2 (2020-02-03)
36
37
@@ -43,7 +44,7 @@ Tracking item swap would be even better still. [#1127](https://github.com/gridst
43
44
44
45
- fix [#37](https://github.com/gridstack/gridstack.js/issues/37) oneColumnMode (<768px by default) now simply calls `setColumn(1)` and remembers prev columns (so we can restore). This gives
45
46
us full resize/re-order of items capabilities rather than a locked CSS only layout (see prev rev changes). [#1120](https://github.com/gridstack/gridstack.js/pull/1120)
@@ -92,11 +93,11 @@ thanks [@ermcgrat](https://github.com/ermcgrat) and others for pointing out code
92
93
93
94
## v0.5.2 (2019-11-13)
94
95
95
-
- undefined `x,y` position messes up grid ([#1017](https://github.com/gridstack/gridstack.js/issues/1017)).
96
+
-fix undefined `x,y` position messes up grid ([#1017](https://github.com/gridstack/gridstack.js/issues/1017)).
96
97
- changed code to 2 spaces.
97
98
- fix minHeight during `onStartMoving()` ([#999](https://github.com/gridstack/gridstack.js/issues/999)).
98
-
- TypeScript definition file now included - no need to include @types/gridstack, easier to update ([#1036](https://github.com/gridstack/gridstack.js/pull/1036)).
99
-
-new`addWidget(el, options)` to pass object so you don't have to spell 10 params. ([#907](https://github.com/gridstack/gridstack.js/issues/907)).
99
+
-add `gridstack.d.ts`TypeScript definition file now included - no need to include `@types/gridstack`, easier to update ([#1036](https://github.com/gridstack/gridstack.js/pull/1036)).
100
+
-add`addWidget(el, options)` to pass object so you don't have to spell 10 params. ([#907](https://github.com/gridstack/gridstack.js/issues/907)).
Copy file name to clipboardExpand all lines: doc/README.md
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,6 @@ gridstack.js API
88
88
-`itemClass` - widget class (default: `'grid-stack-item'`)
89
89
-`maxRow` - maximum rows amount. Default is `0` which means no maximum rows
90
90
-`minWidth` - minimal width. If window width is less than or equal to, grid will be shown in one-column mode (default: `768`)
91
-
-`oneColumnModeClass` - class set on grid when in one column mode (default: 'grid-stack-one-column-mode')
92
91
-`oneColumnModeDomSort` - set to `true` if you want oneColumnMode to use the DOM order and ignore x,y from normal multi column layouts during sorting. This enables you to have custom 1 column layout that differ from the rest. (default?: `false`)
93
92
-`placeholderClass` - class for placeholder (default: `'grid-stack-placeholder'`)
0 commit comments