Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e3b8c6

Browse files
committed
web 10.3.0
1 parent 029ec99 commit 7e3b8c6

File tree

9 files changed

+18
-14
lines changed

9 files changed

+18
-14
lines changed

demo/two.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
<body>
1919
<div class="container-fluid">
2020
<h1>Two grids demo</h1>
21+
<p>Two grids, one floating one not, showing drag&drop from sidebar and between grids.
22+
<br>New v10.2: use 'Esc' to cancel any move/resize. Use 'r' to rotate as you drag.</p>
2123

2224
<div class="row">
2325
<div class="col-md-3">
@@ -71,11 +73,13 @@ <h1>Two grids demo</h1>
7173

7274
let items = [
7375
{x: 0, y: 0, w: 2, h: 2},
74-
{x: 3, y: 1, h: 2},
75-
{x: 4, y: 1},
76-
{x: 2, y: 3, w: 3, maxW: 3, id: 'special', content: 'has maxW=3'},
76+
{x: 1, y: 1, h: 2}, // intentional overlap to test collision on load
77+
{x: 1, y: 1}, // intentional overlap to test collision on load
78+
{x: 3, y: 1},
79+
{x: 2, y: 3, w: 3, maxW: 3, content: 'has maxW=3'},
7780
{x: 2, y: 5}
7881
];
82+
items.forEach((item, i) => item.content = item.content || String(i));
7983

8084
grids.forEach(function (grid, i) {
8185
addEvents(grid, i);

node_modules/gridstack/dist/es5/gridstack-all.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/gridstack/dist/es5/gridstack-all.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/gridstack/dist/es5/gridstack-poly.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/gridstack/dist/gridstack-all.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/gridstack/dist/gridstack-all.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/gridstack/dist/gridstack.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"homepage": "http://gridstackjs.com",
1818
"dependencies": {
19-
"gridstack": "10.2.1"
19+
"gridstack": "10.3.0"
2020
},
2121
"devDependencies": {
2222
"prettier": "3.2.5"

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# yarn lockfile v1
33

44

5-
gridstack@10.2.1:
6-
version "10.2.1"
7-
resolved "https://registry.yarnpkg.com/gridstack/-/gridstack-10.2.1.tgz#3ce6119ae86cfb0a533c5f0d15b03777a55384ca"
8-
integrity sha512-UAPKnIvd9sIqPDFMtKMqj0G5GDj8MUFPcelRJq7FzQFSxSYBblKts/Gd52iEJg0EvTFP51t6ZuMWGx0pSSFBdw==
5+
gridstack@10.3.0:
6+
version "10.3.0"
7+
resolved "https://registry.yarnpkg.com/gridstack/-/gridstack-10.3.0.tgz#8fa065f896d0a880c5c54c24d189f3197184488a"
8+
integrity sha512-eGKsmU2TppV4coyDu9IIdIkm4qjgLLdjlEOFwQyQMuSwfOpzSfLdPc8du0HuebGr7CvAIrJxN4lBOmGrWSBg9g==
99

1010
1111
version "3.2.5"

0 commit comments

Comments
 (0)