Commit graph

240 commits

Author SHA1 Message Date
Derek Moore
1b3a0cbf89 format code to match prevalent coding style 2015-08-12 13:45:37 -05:00
Derek Moore
8848249035 broadcast resizestop events to nested grids 2015-08-12 13:45:37 -05:00
Derek Moore
9442e3cd7e stop event propagation at the grid instead of at grid items 2015-08-12 10:20:39 -05:00
Derek Moore
69d2df188d stop propagation of events so nested grids don't affect parents 2015-08-07 16:36:59 -05:00
Derek Moore
4a80e41811 fix ordering of draggable and resizable event callbacks 2015-08-06 17:55:28 -05:00
Pavel Reznikov
5bbd8d5f54 build js 2015-07-31 18:07:44 -07:00
Pavel Reznikov
f7e041586f Merge pull request #191 from boreal-is/master
Add a set_static method for the grid + add a static class to the container
2015-07-31 18:05:52 -07:00
Pavel Reznikov
d26a079d43 Merge pull request #194 from mikehaas763/master
Setup as an npm package
2015-07-30 17:13:23 -07:00
Mike Haas
510a575714 Setup as an npm package 2015-07-30 13:20:18 -04: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
cvillemure
a349b76156 Merge pull request #1 from troolee/master
Merge latest commit to fork
2015-07-23 15:19:12 -04:00
Pavel Reznikov
e0e9eec66f build dist 2015-07-22 16:32:02 -07: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
Pavel Reznikov
ed29eed4a0 destroy method 2015-07-21 23:34:45 -07:00
Pavel Reznikov
ac219ab2ea Merge pull request #189 from zspitzer/master
Add Destroy method
2015-07-21 23:28:04 -07: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
Pavel Reznikov
a738ee8e52 update dist with min_width/min_height 2015-07-20 16:52:54 -07:00
Pavel Reznikov
177ddc10c3 update readme with min_width/min_height 2015-07-20 16:52:15 -07:00
Pavel Reznikov
cbb0c28a4e Merge pull request #187 from boreal-is/master
Add an API to set minWidth and minHeight to a node
2015-07-20 16:49:48 -07: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
c162173e87 change log 2015-06-24 18:58:06 -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
71f86dd3af starting 0.2.4 2015-06-23 00:16:24 -07:00
Pavel Reznikov
3de2fc680c v0.2.3 2015-06-23 00:15:33 -07:00
Pavel Reznikov
b5b6ff4410 v0.2.3 v0.2.3 2015-06-23 00:08:58 -07:00
Pavel Reznikov
091ab5b1c0 fix demo title 2015-06-19 22:21:25 -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
de951e92c6 jquery-ui packages 2015-06-18 18:34:26 -07:00
Pavel Reznikov
14a9dba190 compile source CSS from SCSS 2015-06-18 18:33:26 -07:00
Pavel Reznikov
a780a58511 Merge pull request #155 from wmak/master
Fixing grammatical error
2015-06-05 22:00:16 -07:00
Pavel Reznikov
2421ffc299 Merge pull request #156 from FredFaust/patch-1
Update README.md
2015-06-05 22:00:01 -07:00
Jean-Frédéric Faust
27c0866b65 Update README.md
Following the other pull request about the readme.md, I thought @wmak 's syntax was better
2015-06-05 15:44:04 -04:00
Jean-Frédéric Faust
9296bef23a Update README.md
Updated some sentences so they are easier to understand and have a correct syntax
Added missing 'new_node.el' to call of add_widget in the example for will_it_fit function.
2015-06-05 15:38:16 -04:00
William Mak
a256afedce Fixing grammatical error 2015-06-03 11:42:13 -04:00
Pavel Reznikov
5d6ebe6259 Merge pull request #151 from radiolips/bugfix/amd-jquery-ui
Bugfix/amd jquery ui
2015-05-31 00:24:52 -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
d
108d699336 Merge commit 'a334bc951e' 2015-05-30 16:02:47 -04:00
Pavel Reznikov
a334bc951e Merge pull request #147 from radiolips/bugfix/window-width
_is_one_column_mode unreliable within five pixels
2015-05-29 19:22:39 -07:00
Pavel Reznikov
2e124b9ebb Merge pull request #150 from maximderbin/fix-typo-in-doc
Fix typos in README.md
2015-05-29 19:22:00 -07:00
babybeasimple
0f2f04fa50 Fix typos in README.md 2015-05-28 23:53:45 +03: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
Pavel Reznikov
ecebcc0bf2 Merge pull request #132 from mgwidmann/sort_problem
Improper sorting with respect to nodes of variable widths
2015-05-14 18:36:43 -07:00