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
Copy file name to clipboardExpand all lines: README.md
+15-28Lines changed: 15 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -148,7 +148,7 @@ GridStack no longer requires external dependencies as of v1.0.0 (lodash was remo
148
148
search for ['gridstack' under NPM](https://www.npmjs.com/search?q=gridstack&ranking=popularity) for latest, more to come...
149
149
150
150
-**Angular**: we now ship out of the box with Angular wrapper components - see <ahref="https://github.com/gridstack/gridstack.js/tree/master/demo/angular/src/app"target="_blank">Angular Demo</a>.
151
-
-**Angular9**: [lb-gridstack](https://github.com/pfms84/lb-gridstack) Note: very old v0.3 gridstack instance so recommend for **concept ONLY if you wish to use directive instead**.
151
+
-**Angular9**: [lb-gridstack](https://github.com/pfms84/lb-gridstack) Note: very old v0.3 gridstack instance so recommend for **concept ONLY if you wish to use directive instead**. teh code has been vented as I use components.
-**knockout**: see [demo](https://gridstackjs.com/demo/knockout.html) using component, but check [custom bindings ticket](https://github.com/gridstack/gridstack.js/issues/465) which is likely better approach.
@@ -219,36 +219,23 @@ See example: [2 grids demo](http://gridstack.github.io/gridstack.js/demo/two.htm
219
219
220
220
If you need > 12 columns or want to generate the CSS manually you will need to generate CSS rules for `.grid-stack-item[gs-w="X"]` and `.grid-stack-item[gs-x="X"]`.
221
221
222
-
For instance for 3-column grid you need to rewrite CSS to be:
222
+
For instance for 4-column grid you need to write CSS to be:
Better yet, here is a SASS code snippet, you can use sites like [sassmeister.com](https://www.sassmeister.com/) to generate the CSS for you instead:
249
236
250
237
```sass
251
-
$columns: 12;
238
+
$columns: 20;
252
239
@function fixed($float) {
253
240
@return calc(round($float * 100) / 100); // total 4 digits being %
254
241
}
@@ -449,11 +436,11 @@ New addition, no API breakage per say. See release notes about creating sub-grid
449
436
## Migrating to v8
450
437
451
438
Possible breaking change if you use nested grid JSON format, or original Angular wrapper, or relied on specific CSS paths. Also target is now ES2020 (see release notes).
* We now have `GridStackWidget.subGridOpts` vs `GridStackNode.subGrid` (was `subGrid` with both types which is error prone)
439
+
* `GridStackOptions.subGrid` -> `GridStackOptions.subGridOpts` rename. We now have `GridStackWidget.subGridOpts` vs `GridStackNode.subGrid` (was both types which is error prone)
454
440
* `GridStackOptions.addRemoveCB` -> `GridStack.addRemoveCB` is now global instead of grid option
455
-
* removed `GridStackOptions.dragInOptions` since `setupDragIn()`has it replaced since 4.0
441
+
* removed `GridStackOptions.dragInOptions` since `GridStack.setupDragIn()`has it replaced since 4.0
456
442
* remove `GridStackOptions.minWidth` obsolete since 5.1, use `oneColumnSize` instead
443
+
* CSS rules removed `.grid-stack` prefix for anything already gs based, 12 column (default) now uses `.grid-stack-12`, `gs-min|max_w|h` attribute no longer written (but read)
gridstack.js is currently maintained by [Alain Dumesny](https://github.com/adumesny) and [Dylan Weiss](https://github.com/radiolips), originally created by [Pavel Reznikov](https://github.com/troolee). We appreciate [all contributors](https://github.com/gridstack/gridstack.js/graphs/contributors) for help.
491
+
gridstack.js is currently maintained by [Alain Dumesny](https://github.com/adumesny), before that [Dylan Weiss](https://github.com/radiolips), originally created by [Pavel Reznikov](https://github.com/troolee). We appreciate [all contributors](https://github.com/gridstack/gridstack.js/graphs/contributors) for help.
Copy file name to clipboardExpand all lines: doc/CHANGES.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ Change log
96
96
* fix: [#2234](https://github.com/gridstack/gridstack.js/issues/2234)`Utils.getElements('1')` (called by removeWidget() and others) now checks for digit 'selector' (becomes an id).
97
97
* fix: [#2213](https://github.com/gridstack/gridstack.js/issues/2213)`destroy()` now removes event handlers too
98
98
* feat: [#2292](https://github.com/gridstack/gridstack.js/issues/2292) ne nw resize handle
99
-
* break: (meant to be in v8) removed `GridStackOptions.dragInOptions` since `setupDragIn()`has it replaced since 4.0
99
+
* break: (meant to be in v8) removed `GridStackOptions.dragInOptions` since `GridStack.setupDragIn()`has it replaced since 4.0
100
100
101
101
## 8.0.0 (2023-04-29)
102
102
* package is now ES2020 (TS exported files), webpack all.js still umd (better than commonjs for browsers), still have es5/ files unchanged (for now)
0 commit comments