git-subtree-dir: lib/gridster git-subtree-mainline: 80f8419dac97766a22ded5fa86186ced2b704178 git-subtree-split: a7ed9a4adec9f7c8361ad6f392993a1f0b9c1601
15 KiB
v0.6.10 (2015-05-31)
- Add Ruby on Rails support
v0.6.9 (2015-05-27)
- bug fixes for positions and overlap
- dist modified to support webpack deployements
- new 'sticky' layout option which allows widgets to be places absolutely into a position on the grid.
v0.6.8 (2015-04-28)
Bug Fixes
- gridster:
- responsive width now resizes based off wrapper not window (e69c3e8f)
- ensure coords instances are destroyed on widgets (576b5ae3)
resize_widget
also accepts HTMLElements (cda560f4)- changed "instanceof jQuery" to "instanceof $" (c6226306)
- wrong addition solved in add_faux_rows/cols by adding parseInt (d9471752, closes #426, #425)
- preventing gridster from adding extra resize handles (9d077da6)
- destroy resize_api (b1629326, closes #473)
- ensure widget dimensions and coords are always ints (595a94f1)
Features
- draggable: autoscrolling (d3f25f3f)
- gridster:
- gridster.css: remove possible default pading (2002c455)
v0.6.7 (2015-04-16)
v0.6.6 (2015-04-08)
v0.6.5 (2015-04-06)
Bug Fixes
- gridster: fixed bugs in centering_widgets (widgets were getting smushed when being resized (86053f8b)
v0.6.4 (2015-03-19)
Bug Fixes
- gridster:
- added ability to center widgets in grid
v0.6.3 (2015-03-06)
Bug Fixes
- gridster:
- fixing resize limits when in fixed width mode feature(gridster): added fix_to_co (6bb47dc1)
v0.6.2 (2015-02-23)
Bug Fixes
- gridster: forcing height of gridster container to auto when in collapsed mode (749f37a5)
v0.6.1 (2015-02-21)
Bug Fixes
- gridster:
v0.6.0 (2015-02-18)
Bug Fixes
- gridster: changed the way widgets were getting positioned so that margins are actually the (a3913043)
Features
- gridster: make grid responsive (a3913043)
v0.5.7 (2015-02-17)
v0.5.6 (2014-09-25)
Bug Fixes
- draggable: namespace events with unique ids (79aff38c)
v0.5.5 (2014-07-25)
Bug Fixes
- gridster: fire
positionschanged
when widget orig position changes (9926ceff)
v0.5.4 (2014-07-16)
Bug Fixes
v0.5.3 (2014-07-04)
Bug Fixes
- gridster:
Features
- make gridster AMD compatible (589d7fd5)
- gridster: move widget up when added if there is space available (8ec307b6)
v0.5.2 (2014-06-16)
Bug Fixes
- draggable:
- gridster:
Features
- draggable:
v0.5.1 (2014-03-05)
Features
- collision: overlapping region as a config option (720d487e)
- coords:
- draggable: keep container position prop if different than static (04868a38)
- gridster: destroy element's data and optionally remove from DOM (dc09f191)
v0.5.0 (2014-02-14)
Bug Fixes
- autogrow: refining autogrow_cols behavior and grid width issues (835c2df8)
- resize.stop: Call resize.stop at the latest possible moment (e21f63a0)
Features
- draggable: Add toggle draggable method. (073fdc40)
v0.4.4 (2014-02-13)
Features
- resize: add start/stop/resize event triggers (7ca8deec)
v0.4.3 (2014-02-11)
Bug Fixes
- generated-styles: cleaning cached serializations properly (f8b04f29)
v0.4.2 (2014-02-07)
Bug Fixes
- recalculate grid width when adding widgets (47745978)
v0.4.1 (2014-02-07)
Bug Fixes
- add resize.min_size option to default config object (5672edb0)
v0.4.0 (2014-02-07)
Bug Fixes
- gridster:
- licenses: add required copyright message for underscore (b563c094)
- readme: link title jsfiddle -> jsbin, edit 5) of process steps (0641aa89)
Features
- draggable:
- gridster: increase grid width when dragging or resizing (37c4e943)
- resize: add option to set min_size of a widget (ff511872)
v0.3.0 (2013-11-18)
Features
- draggable:
- gridster: increase grid width when dragging or resizing (b61df653)
v0.2.1 (2013-10-28)
Features
- resize: Add start/stop/resize callbacks (d4ec7140)
v0.2.0 (2013-10-26)
Bug Fixes
Features
- draggable:
- gridster: drag-and-drop widget resizing (e1924053)
- utils: add delay helper to utils (faa6c5db)
dustmoo Modifications
Changelog 2013-04-3
Fork now handles standard behavior properly with swap allowing larger widgets to shift down.
Changelog 2013-04-2
Added Demo to Repository.
Changelog 2013-02-27
Added "Static widget support" Static Items default to the "static" class.
You can customize this class by using the code below:
$.gridster({
static_class: 'custom_class',
draggable: {
items: ".gs_w:not(.custom_class)"
}
});
I have also added functions creating a much more thourough check of whether the player can occupy the space you are moving it too. This version is much more reliable in swapping space with widgets.
There are also new options for Maximum Rows and Maximum Columns:
$.gridster({
max_rows: map_rows,
max_cols: map_cols,
shift_larger_widgets_down: false
});
Setting the maximum amount of rows only completely works if you disable shifting larger widgets down at the moment.
Changelog 11-26-2012
Reworked swapping functionality to better handle large to small widget handling.
Widgets of smaller or equal size to the dragged widget (player) will swap places with the original widget.
This causes tiles to swap left and right as well as up and down.
By default smaller players will shift larger widgets down.
I have added an option to prevent this behavior:
$.gridster({
shift_larger_widgets_down: false
});
By setting shift_larger_widgets_down to false, smaller widgets will not displace larger ones.