Dustin Moore
cb98d7d43b
Merge branch 'master' of https://github.com/dustmoo/gridster.js
2013-04-02 09:05:52 -07:00
Dustin Moore
8b2f7484dc
Added Swap Demo
2013-04-02 09:04:53 -07:00
Dustin Moore
1748e6f22b
Merge pull request #7 from sbehrends/patch-1
...
Added disabled dragging init feature gridster.js - Thank you sbehrends
2013-04-01 10:31:52 -07:00
sbehrends
1d5883bde1
Added disabled dragging init feature gridster.js
...
In initial options you can disble draggin by adding disable_drag: true on options list at initialising gridster
2013-04-01 20:29:30 +03:00
Dustin Moore
ac8894d4bb
Working on Static widgets
2013-02-28 13:52:34 -08:00
Dustin Moore
8f431a4233
Updated Readme
2013-02-27 15:15:41 -08:00
Dustin Moore
0badd03830
Updated Readme
2013-02-27 15:14:00 -08:00
Dustin Moore
953fa8181d
Merge branch 'mapapp'
2013-02-27 12:00:53 -08:00
Dustin Moore
54099ecf6c
Version Updates
2013-02-27 11:58:00 -08:00
Dustin Moore
3ebf5fa95e
Serialize bug fix
2012-12-10 14:33:25 -08:00
Dustin Moore
44019ca787
Added max_rows and drag restriction - ready for integration :)
2012-11-28 08:52:36 -08:00
Dustin Moore
179b706cfa
Removed console.logs
2012-11-28 08:26:54 -08:00
Dustin Moore
ea77853b07
Removed console.logs
2012-11-28 08:01:21 -08:00
Dustin Moore
6786984511
Good enough swap logic for now
2012-11-28 07:58:37 -08:00
Dustin Moore
a3d2b09b8a
Swap queue awesomeness
2012-11-27 14:55:15 -08:00
Dustin Moore
24cd3be70d
Swap queue awesomeness
2012-11-27 14:10:11 -08:00
Dustin Moore
32e5f54670
Fix row issue
2012-11-26 16:44:12 -08:00
Dustin Moore
136923ec50
working on map grid functionality
2012-11-26 16:43:08 -08:00
Dustin Moore
262d115cf8
Added swaping queue, better handling of large to small swaps
2012-11-26 15:23:00 -08:00
Dustin Moore
98204f1c69
Added swaping queue, better handling of large to small swaps
2012-11-26 15:20:15 -08:00
Dustin Moore
773828731c
More predictable default behavior
2012-11-20 12:02:29 -08:00
Dustin Moore
95ce88cfb3
Updated Readme
2012-11-20 10:23:51 -08:00
Dustin Moore
67465875aa
Added property to prevent larger widget shifting
2012-11-20 10:16:19 -08:00
Dustin Moore
898b77d2d3
Added grid-swap behavior
2012-11-20 10:07:38 -08:00
vieron
b538d64969
updated dist
2012-10-20 01:52:08 +02:00
vieron
55edd11ef8
gridster: new method remove_all_widgets
...
Remove multiple widgets without chaining callbacks was not possible so I've added a new argument to remove_widget method named `silent` which if it's value is true, widgets below the removed will not move up.
Also added the method remove_all_widgets.
Fixes #63
2012-10-20 01:37:41 +02:00
vieron
c75db76f4e
updated dist
2012-10-20 00:14:14 +02:00
vieron
a20f3d53b5
ignoring demo folder
2012-10-20 00:12:47 +02:00
Philip Manavopoulos
552df22e1c
Allow for an optional drag handle to be specified
...
When defining the gridster, you can now define a draggable.handle selector:
For example:
$("#widgets").gridster({
widget_margins: [10, 10],
widget_base_dimensions: [565, 400],
draggable: {
stop: function(event, ui) {
console.log('save new columns');
},
handle: '.title'
}
});
If handle is omitted (or left blank), it works as it did previously. If a value is specified, then dragging only starts if the element which was clicked matches the selector specified.
Added by @vieron:
Closes #29
2012-10-20 00:12:10 +02:00
vieron
07b34131bd
update dist
2012-10-15 16:27:12 +02:00
vieron
68f1d6279c
Avoid dynamic column generation.
...
Using add_faux_col each time a new widget is added to the grid caused the widget was always positioned in the first row on the right. Related to #60 .
2012-10-15 15:47:31 +02:00
vieron
a5d122246d
updated dist
2012-10-07 21:45:06 +02:00
vieron
5411836c88
events/onselectstart: Don't prevent default behaviour on form fields
...
Fixes #56 .
2012-10-07 21:36:58 +02:00
vieron
5a3c382c8b
Immediate children selection for widgets. Fixes #52 .
2012-10-07 21:12:38 +02:00
vieron
6ebd10139f
updated dist
2012-10-07 21:12:38 +02:00
vieron
42ce094e1c
updated grunt config to generate gridster+extras distribution
2012-10-07 21:12:38 +02:00
vieron
cd5c936939
gridster extra methods
...
Some new methods we need at Ducksboard to implement TV mode.
Two new distributions of Gridster are generated with grunt:
- jquery.gridster.with-extras.js
- jquery.gridster.with-extras.min.js
2012-10-07 21:12:38 +02:00
vieron
7dbbc105c1
add_faux_cell: create parent array if doesn't exists
2012-10-07 21:12:38 +02:00
vieron
82b8778762
if not passed, use default namespace for generating stylessheets
2012-10-07 21:12:38 +02:00
vieron
7fc97d0f79
Allow to extend gridster out of the scope
2012-10-07 21:12:38 +02:00
vieron
0b1c9899d0
some code style corrections/improvements
2012-10-07 21:12:38 +02:00
vieron
c4fee63b96
ability to specify a max row as limit in can_move_to method
2012-10-03 15:40:16 +02:00
vieron
3d5077dd7b
add_faux_cols method
2012-10-03 15:33:46 +02:00
vieron
c6bd80be8e
Fixed disable method, it didn't work well for multiple instances.
...
Previously, disabling gridster caused all the instances of Gridster running on the pages was disabled. Because Draggable class uses event delegation from the body to manage drag events.
2012-10-03 13:48:55 +02:00
vieron
c503a4f99e
updated dist
2012-09-12 17:51:44 +02:00
vieron
3bc9ea3527
Possibility to namespace first-time styles generated by gridster.
...
Useful if you have multiple grid instances in the same document.
2012-09-12 17:50:48 +02:00
vieron
104ee3220d
updated dist
2012-09-09 14:32:49 +02:00
vieron
b71b8727df
gridster: moving down widgets under placeholder. Related to #4 .
...
This solves the overlapping-blocks seen in the screencast provided by @daniel-nelson. I've captured another one trying to reproduce the same movements with this commit applied: http://www.screenr.com/g7J8
2012-09-09 14:21:31 +02:00
vieron
dc61567454
collision: ignore min_area in collision sorting
...
This doesn't work with grids with small values in widget_base_dimensions and widget_margins options.
2012-09-08 13:58:47 +02:00
vieron
60fbb1cbf2
updated dist
2012-08-20 21:06:38 +02:00