Pavel Reznikov
4dae65aa46
merge PR #283
2016-02-10 18:29:49 -08:00
Pavel Reznikov
b32b3f251f
fix #276
2016-02-08 22:58:10 -08:00
Pavel Reznikov
64aa4734cc
copy
2016-02-08 22:43:35 -08:00
Pavel Reznikov
7c7fd5ae0a
Merge pull request #271 from mmrose/master
...
Adding enable and disable events
2016-02-08 22:39:55 -08:00
Pavel Reznikov
9237ae7fb7
Merge pull request #275 from zspitzer/master
...
toggle ui-draggable-handle class with draggable
2016-02-08 22:38:54 -08:00
Pavel Reznikov
48e96cd746
Merge pull request #245 from boreal-is/master
...
Fix for #63
2016-02-08 22:35:41 -08:00
Pavel Reznikov
7c8c08e101
Merge pull request #309 from andrewr88/master
...
Fixes for Lodash v4.0 breaking changes
2016-02-08 22:33:55 -08:00
Florian Heinze
9c644eef98
[BUGFIX] offset problems for dragging and scaling with a lot of columns
...
When using a a lot of columns, e.g. more than 40
then the dashed box showing the next placement would
behave strangely compared to the box I am currently
dragging. This behavior increases while dragging
the box to the right side.
When scaling a box on the right side, the box would
jump one column to the left, which would then move around
all the boxes that I have already placed.
This behavior seems to be related to a rounding problem.
2016-01-25 14:08:18 +01:00
Andy Robbins
bce1eeaf06
fix calls for lodash v4.0
2016-01-15 13:46:23 -05:00
Jerome Louis
9bba3fbb18
generated CSS files should only be in dist folder
2015-11-18 16:48:27 +01:00
Zac Spitzer
912662bbbb
toggle ui-draggable-handle class with draggable
...
On touch devices, it's not possible to scroll a page by dragging on an item even when draggable is
disabled due to the **ui-draggable-handle** class which is added to the **grid-stack-item-content**
JQuery-UI Draggable doesn't remove this class when it's disabled, so it prevents touch scrolling the page on the item
```
<div class="grid-stack-item-content ui-draggable-handle">
.ui-draggable-handle {
-ms-touch-action: none;
touch-action: none;
}
```
2015-11-06 13:48:11 +11:00
Martin Mrose
816071a077
Triggering enable and disable events on gridstack container
2015-11-03 00:14:57 +01:00
Chaoyu
3be2105a93
try load lodash, otherwise use global _
2015-10-09 15:22:00 -07:00
Chaoyu
b7c7b3b8f3
fix
2015-10-09 15:10:22 -07:00
Chaoyu
5472f95252
common js suport
2015-10-09 14:46:12 -07:00
cvillemure
c2b1dee5fa
Merge pull request #2 from troolee/master
...
Update from troolee
2015-10-08 15:06:23 -04:00
cvillemure
77159bfbe1
Fix for #63
...
Fix IE9 SE handle for #63
2015-10-08 14:55:24 -04:00
Pavel Reznikov
b00114d5bc
fix handle option
2015-09-21 20:13:05 -07:00
Pavel Reznikov
847a54c492
Make sure not to include placeholders when calling prepare element.
2015-09-09 18:21:36 -07:00
Pavel Reznikov
79f509c6e6
add handle_class option
2015-09-09 18:20:06 -07:00
cvillemure
c35042dbc4
Add a set_static method for the grid + add a static class to the container
...
The set_static method allow to toggle the static mode on the fly.
The 'grid-stack-static' class allow the user to apply custom CSS style
on the widgets when in static mode.
2015-07-23 15:43:44 -04:00
Pavel Reznikov
7f0d622e71
Merge pull request #190 from boreal-is/master
...
Trigger change event for add/remove
2015-07-22 16:31:15 -07:00
cvillemure
187e13a244
Trigger change event for add/remove
...
Trigger change event for add_widget / remove_widget methods and refactor
the trigger into a method for uniformity
2015-07-22 15:21:51 -04:00
Zac Spitzer
c35a3cad1d
Add Destroy method
...
- added remove_stylesheet
- changed on_resize_hander to allow unbinding
- added destroy method
2015-07-22 11:33:41 +10:00
cvillemure
5b73939bc4
Add a API to set minWidth and minHeight to a node
2015-07-20 13:46:51 -04:00
Pavel Reznikov
0a58260563
add static_grid option
2015-07-16 18:49:28 -07:00
Pavel Reznikov
2349443938
fix closure comiler warnings
2015-06-24 18:57:25 -07:00
Pavel Reznikov
6ffdf307f8
file header version
2015-06-24 18:48:44 -07:00
Pavel Reznikov
14f319e9dc
fix closure linter warnings
2015-06-24 18:48:07 -07:00
Pavel Reznikov
b5cdcb2496
extra CSS
2015-06-19 22:02:42 -07:00
Pavel Reznikov
899fee3330
do not fire onchange event with empty array
2015-06-18 19:48:23 -07:00
Pavel Reznikov
b6fec29756
attach placeholder just when it needed
2015-06-18 19:30:48 -07:00
Pavel Reznikov
14a9dba190
compile source CSS from SCSS
2015-06-18 18:33:26 -07:00
d
da3ab07e86
Merge branch 'master' into bugfix/amd-jquery-ui
2015-05-30 16:05:44 -04:00
d
203cc88ab8
Include AMD references to jQuery-ui to load properly.
2015-05-30 16:05:24 -04:00
Dylan Weiss
43b2f0b6ee
$(window).width() is incorrect by about 5 pixels, causing _is_one_column_mode to be incorrect. To test this, go to any gridstack and make the page width 769px. Single column mode via CSS will not kick in, yet elements will not be draggable.
2015-05-19 17:40:04 -04:00
Pavel Reznikov
2e0dbc1e6a
fix ‘w’ resize
2015-05-14 20:28:47 -07:00
Matt Widmann
5f2e795677
Correctly sort nodes by using the total width instead of individual node width (becomes a problem with nodes of variable width).
2015-04-14 16:19:03 -04:00
Rick Cuddy
6746234036
Update bower.json main files to match "standards"
...
This update allows use of bower.json main value in buildtools that rely on
the appropriate files being defined in this main array. It also points to
the unminified, but compiled dist versions as per bower spec:
https://github.com/bower/bower.json-spec#main
* Changes main js file to use unminified version
* Adds the gridstack.css file to the main files array
* Moves compiled CSS into `dist` folder (upstream build process needs update)
* Duplicate `src/gridstack.js` into `dist/gridstack.js` (upstream build process needs update)
* Update demo html to point to `dist` instead of `src`
2015-03-21 16:23:18 +11:00
Pavel Reznikov
41b1a40fa0
fix floating mode (issue #93 )
2015-03-12 19:52:26 -07:00
Pavel Reznikov
95328b7455
lodash.js support
2015-03-10 23:26:44 -07:00
Pavel Reznikov
6768a14802
lodash.js support
2015-03-10 23:10:26 -07:00
Pavel Reznikov
66388d020c
improve memory usage
2015-03-09 21:37:08 -07:00
Pavel Reznikov
fc28ca5947
add detach_node param to remove_widget
2015-03-08 23:33:14 -07:00
Pavel Reznikov
94b4889eb7
add is_area_empty API method
2015-03-08 22:45:14 -07:00
Pavel Reznikov
3f5d6fca80
nested grids
2015-03-08 22:28:51 -07:00
Pavel Reznikov
b64accd45a
fix styles initialization
2015-03-08 12:04:15 -07:00
Pavel Reznikov
160e56af30
remove default value for max height
2015-03-06 00:44:05 -08:00
Pavel Reznikov
ec6e6f5421
add batch_update/commit methods
2015-03-05 23:50:32 -08:00
Pavel Reznikov
8747785ba0
add update method
2015-03-05 23:46:59 -08:00