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
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -145,7 +145,7 @@ GridStack no longer requires external dependencies as of v1.0.0 (lodash was remo
145
145
146
146
## API Documentation
147
147
148
-
Documentation can be found [here](https://github.com/gridstack/gridstack.js/tree/develop/doc).
148
+
Documentation can be found [here](https://github.com/gridstack/gridstack.js/tree/master/doc).
149
149
150
150
151
151
## Extend Library
@@ -232,7 +232,7 @@ Better yet, here is a SASS code snippet which can make life much easier (Thanks
232
232
}
233
233
```
234
234
235
-
you can also use the SASS [src/gridstack-extra.scss](https://github.com/gridstack/gridstack.js/blob/develop/src/gridstack-extra.scss) included in NPM package and modify to add more columns
235
+
you can also use the SASS [src/gridstack-extra.scss](https://github.com/gridstack/gridstack.js/tree/master/src/gridstack-extra.scss) included in NPM package and modify to add more columns
236
236
and also have the `.grid-stack-N` prefix to support letting the user change columns dynamically.
237
237
238
238
Sample gulp command for 30 columns:
@@ -286,13 +286,13 @@ search for ['gridstack' under NPM](https://www.npmjs.com/search?q=gridstack&rank
-**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.
-**React**: see [demo](https://gridstackjs.com/demo/react.html) with [src](https://github.com/gridstack/gridstack.js/blob/develop/demo/react.html), or [react-gridstack-example](https://github.com/Inder2108/react-gridstack-example/blob/master/src/App.js), or read on what [hooks to use](https://github.com/gridstack/gridstack.js/issues/735#issuecomment-329888796)
290
-
-**Vue**: see [demo](https://gridstackjs.com/demo/vue3js.html) with [v3 src](https://github.com/gridstack/gridstack.js/blob/develop/demo/vue3js.html) or [v2 src](https://github.com/gridstack/gridstack.js/blob/develop/demo/vue2js.html)
289
+
-**React**: see [demo](https://gridstackjs.com/demo/react.html) with [src](https://github.com/gridstack/gridstack.js/tree/master/demo/react.html), or [react-gridstack-example](https://github.com/Inder2108/react-gridstack-example/tree/master/src/App.js), or read on what [hooks to use](https://github.com/gridstack/gridstack.js/issues/735#issuecomment-329888796)
290
+
-**Vue**: see [demo](https://gridstackjs.com/demo/vue3js.html) with [v3 src](https://github.com/gridstack/gridstack.js/tree/master/demo/vue3js.html) or [v2 src](https://github.com/gridstack/gridstack.js/tree/master/demo/vue2js.html)
291
291
292
292
# Migrating
293
293
## Migrating to v0.6
294
294
295
-
starting in 0.6.x `change` event are no longer sent (for pretty much most nodes!) when an item is just added/deleted unless it also changes other nodes (was incorrect and causing inefficiencies). You may need to track `added|removed`[events](https://github.com/gridstack/gridstack.js/tree/develop/doc#events) if you didn't and relied on the old broken behavior.
295
+
starting in 0.6.x `change` event are no longer sent (for pretty much most nodes!) when an item is just added/deleted unless it also changes other nodes (was incorrect and causing inefficiencies). You may need to track `added|removed`[events](https://github.com/gridstack/gridstack.js/tree/master/doc#events) if you didn't and relied on the old broken behavior.
296
296
297
297
## Migrating to v1
298
298
@@ -425,7 +425,7 @@ As for events, you can still use `$(".grid-stack").on(...)` for the version that
Copy file name to clipboardExpand all lines: doc/CHANGES.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ HTML5 version will require re-write to plain `mousemove` & mobile `touchmove` in
125
125
## 3.1.0 (2020-12-4)
126
126
127
127
- add new `addGrid(parent, opts)` to create a grid and load children instead of `init() + load()`, which is used by `load()` to supports nested grids creation.
128
-
see [nested.html](https://github.com/gridstack/gridstack.js/blob/develop/demo/nested.html) demo.
128
+
see [nested.html](https://github.com/gridstack/gridstack.js/tree/master/demo/nested.html) demo.
129
129
-`save()` will now work on nested grids, recursively saving info. added flag to also allow saving the current grid options + children
130
130
(needed for nested grids) so you can now call new `adddGrid()` to re-create everything from JSON.
@@ -227,7 +227,7 @@ You can now have perfect square cells (default) [723](https://github.com/gridsta
227
227
## v1.0.0 (2020-02-23)
228
228
229
229
-**breaking**: [(1084)](https://github.com/gridstack/gridstack.js/issues/1084) jquery was removed from the API and dependencies (initialize differently, and methods take/return `GridStack` or `HTMLElement` instead of `JQuery`), so your code will need to change.
230
-
See [Migrating to v1.0.0](https://github.com/gridstack/gridstack.js/blob/develop/README.md#migrating-to-v100)
230
+
See [Migrating to v1.0.0](https://github.com/gridstack/gridstack.js/tree/master/README.md#migrating-to-v100)
231
231
-`setColumn(N)` is now `column(N)` (matches other set/get methods) and `getColumn()` to get current column number
Copy file name to clipboardExpand all lines: doc/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -309,7 +309,7 @@ grids.forEach(...)
309
309
* call to create a grid with the given options, including loading any children from JSON structure. This will call `GridStack.init()`, then `grid.load()` on any passed children (recursively). Great alternative to calling `init()` if you want entire grid to come from JSON serialized data, including options.
310
310
*@param parent HTML element parent to the grid
311
311
*@param opt grids options used to initialize the grid, and list of children
312
-
* see [nested.html](https://github.com/gridstack/gridstack.js/blob/develop/demo/nested.html) demo
312
+
* see [nested.html](https://github.com/gridstack/gridstack.js/tree/master/demo/nested.html) demo
0 commit comments