177 Commits

Author SHA1 Message Date
f0a50649d1 removing playing-revert class when gridster is disabled 2012-07-23 15:14:53 +02:00
d1b7009fc9 improved and more robust css 2012-07-23 11:04:33 +02:00
3e1d005585 don`t recalculate offset if it is passed to the update method 2012-07-23 11:03:06 +02:00
0446186c98 utils: throttle, debounce 2012-07-23 11:02:18 +02:00
288df54e86 basic jQuery draggable plugin 2012-07-23 11:01:48 +02:00
5edfe0a488 new methods, fixes and improvements:
- new disable, enable methods

- don't generate duplicated stylesheets for the same origin config

- new configuration option called avoid_overlapped_widgets. Avoid that widgets loaded from the DOM can be overlapped. It is helpful if the positions were bad stored in the database or if there was any conflict.

- Removed jquery ui dependencie.

- Fix to prevent widgets go out of the grid.

- New methods to get all widgets from a column or row.

- generate_stylesheets method now supports namespaces to generate multiple stylesheets based on a parent class.
2012-07-23 11:01:05 +02:00
1507974e07 collision: don't calculate player coords if we have it 2012-07-23 10:53:57 +02:00
60a873a131 updated dist 2012-07-20 15:48:03 +02:00
18b620f6ce the remove_widget callback must be inside the fadeout callback 2012-07-20 15:47:39 +02:00
0b310de6e7 updated dist 2012-07-20 14:03:32 +02:00
fbeb2ac05c fixed add_widget method 2012-07-20 14:03:24 +02:00
9dbad2b29e remove_widget accepts a callback as second argument 2012-07-20 14:03:03 +02:00
7624182bf4 updated docs and diet 2012-07-20 11:06:26 +02:00
0e03a05435 namespaced gridster events: dragstart, dragstop, drag 2012-07-20 11:04:54 +02:00
f2356c8a08 updated docs and dist 2012-07-19 16:45:01 +02:00
79bec6897f using next_positions inside add_widget method 2012-07-19 16:44:49 +02:00
e610465a27 updated docs and dist 2012-07-19 16:10:38 +02:00
97074001bb fixed a bug that caused next_positions method redefinition 2012-07-19 16:10:31 +02:00
d4145e873c updated doc and dist 2012-07-19 15:56:12 +02:00
2bcd943fff new method to get the next position of a new widget 2012-07-19 15:56:01 +02:00
15a2dba98e updated docs and dist 2012-07-19 11:16:29 +02:00
b83d993d4b recalculate faux grid offsets when browser is resized 2012-07-19 11:08:10 +02:00
7e1e5e5217 minified versions 2012-07-18 21:49:08 +02:00
31028a3975 fixed compatibility issues with the helper:clone option of Draggable 2012-07-18 21:48:53 +02:00
6fe6f720da documentation typos 2012-07-18 19:08:36 +02:00
f4a9ae80d8 links to downloads and others 2012-07-18 19:07:59 +02:00
257914ee99 initial commit 2012-07-18 18:31:44 +02:00