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
* (Optional) [jquery-ui-touch-punch](https://github.com/furf/jquery-ui-touch-punch) for touch-based devices support
84
+
80
85
## Install
81
86
87
+
```html
88
+
<linkrel="stylesheet"href="gridstack.css" />
89
+
<scriptsrc="gridstack.js"></script>
90
+
<scriptsrc="gridstack.jQueryUI.js"></script>
91
+
```
92
+
82
93
* Using CDN:
83
94
84
95
```html
@@ -129,6 +140,25 @@ $(function () {
129
140
</script>
130
141
```
131
142
143
+
## Migrating to v0.3.0
144
+
145
+
As of v0.3.0, gridstack introduces a new plugin system. The drag'n'drop functionality has been modified to take advantage of this system. Because of this, and to avoid dependency on core code from jQuery UI, the plugin was functionality was moved to a separate file.
146
+
147
+
To ensure gridstack continues to work, either include the additional `gridstack.jQueryUI.js` file into your HTML or use `gridstack.all.js`:
148
+
149
+
```html
150
+
<scriptsrc="gridstack.js"></script>
151
+
<scriptsrc="gridstack.jQueryUI.js"></script>
152
+
```
153
+
154
+
or
155
+
156
+
```html
157
+
<scriptsrc="gridstack.all.js"></script>
158
+
```
159
+
160
+
We're working on implementing support for other drag'n'drop libraries through the new plugin system.
161
+
132
162
## Migrating to v0.2.5
133
163
134
164
As of v0.2.5 all methods and parameters are in camel case to respect [JavaScript Style Guide and Coding Conventions](http://www.w3schools.com/js/js_conventions.asp).
@@ -477,12 +507,13 @@ for help.
477
507
Changes
478
508
=======
479
509
480
-
#### v0.2.7-dev (Development Version)
510
+
#### v0.3.0-dev (Development Version)
481
511
482
512
- add oneColumnModeClass option to grid.
483
513
- remove 768px CSS styles, moved to grid-stack-one-column-mode class.
484
514
- add max-width override on grid-stck-one-column-mode ([#462](https://github.com/troolee/gridstack.js/issues/462)).
485
515
- add internal function`isNodeChangedPosition`, minor optimization to move/drag.
516
+
- drag'n'drop plugin system. Move jQuery UI dependencies to separate plugin file.
0 commit comments