Commit Graph
283 Commits
Author SHA1 Message Date
Floyd Hawkes e69c3e8f64 fix(gridster): responsive width now resizes based off wrapper not window 2015-04-22 16:23:13 -04:00
floyd_hawkes 65f43a529f Release v0.6.6 2015-04-14 13:18:54 -04:00
fhawkes 0286676e16 Merge pull request #6 from DecksterTeam/dadams
Resize handles
2015-04-14 13:17:59 -04:00
Donald Adams 6c5ef28853 preventing gridster from creating extra resize handles while centering 2015-04-14 12:59:41 -04:00
Donald Adams 12f4ab181d Revert "fix(gridster): preventing gridster from adding extra resize handles"
This reverts commit 9d077da676.
2015-04-14 12:55:49 -04:00
Donald Adams 9d077da676 fix(gridster): preventing gridster from adding extra resize handles 2015-04-14 12:33:04 -04:00
floyd_hawkes d5bf56c39d chore(grunt): fixing versioning system 2015-04-06 16:19:38 -04:00
floyd_hawkes f8d3d2d223 Release v0.6.5 2015-04-06 16:17:12 -04:00
floyd_hawkes bbd9cd4803 Release v0.6.5 2015-04-06 16:09:08 -04:00
floyd_hawkes 86053f8be3 fix(gridster): fixed bugs in centering_widgets (widgets were getting smushed when being resized) and fixed bug with min_width 2015-04-06 16:05:40 -04:00
floyd_hawkes 16a7a65953 #3 Adds ability to automatically center widgets in the grid. 2015-03-19 10:56:54 -04:00
floyd_hawkes e40a393aec Release v0.6.4 2015-03-19 10:46:18 -04:00
floyd_hawkes 8a5a723a2d #3 Adds ability to automatically center widgets in the grid. 2015-03-19 10:43:15 -04:00
floyd_hawkes fc75ce5d46 Release v0.6.3 2015-03-06 14:41:24 -05:00
floyd_hawkes 6bb47dc1ce fix(gridster): fixing resize limits when in fixed width mode
feature(gridster): added fix_to_content function to fit widget dimensions to a given width and height
feature(gridster): added resize_widget_dimensions function
refactor(gridster): moved code to set number of columns in grid to helper function
2015-03-06 14:36:05 -05:00
floyd_hawkes 14e08d9fe0 refactor(gridster): adding callback to add_widget function 2015-03-04 10:18:48 -05:00
floyd_hawkes 76544370d5 fix(gridster): adding bower.json file 2015-02-25 09:51:56 -05:00
floyd_hawkes 5f86f9852d Merge branch 'master' of github.com:DecksterTeam/gridster.js 2015-02-25 09:48:46 -05:00
floyd_hawkes fa296634eb fix(gridster): adding bower.json file 2015-02-25 09:47:43 -05:00
fhawkes 04e2cf7c99 Merge pull request #2 from DecksterTeam/resize-overlap
fix(gridster): fixes bug where widgets would overlay other widgets after...
2015-02-23 21:31:32 -05:00
floyd_hawkes 61572cd881 fix(gridster): fixes bug where widgets would overlay other widgets after a resize 2015-02-23 21:29:20 -05:00
floyd_hawkes d669045dec Release v0.6.2 2015-02-23 20:28:53 -05:00
floyd_hawkes 749f37a520 fix(gridster): forcing height of gridster container to auto when in collapsed mode 2015-02-23 20:25:24 -05:00
floyd_hawkes 9ead8c04c1 Release v0.6.1 2015-02-21 12:26:58 -05:00
floyd_hawkes dbc226d46c fix(gridster): fixed expand_widget bug not expanding full width of window
fix(gridster): user can specify size_x when expanding widget
2015-02-21 12:25:05 -05:00
floyd_hawkes afd83fead8 fix(gridster): fixing drag limit issues when using autogrow_cols 2015-02-21 11:51:17 -05:00
floyd_hawkes 754b313378 Release v0.6.0 2015-02-18 13:37:14 -05:00
floyd_hawkes a391304357 fix(gridster): changed the way widgets were getting positioned so that margins are actually the same size that the user specified all the way around the grid
feat(gridster): added responsive nature to grid
2015-02-18 13:34:20 -05:00
vieron 314037471f Release v0.5.6 2014-09-25 12:27:05 +02:00
vieron 79aff38c60 fix(draggable): namespace events with unique ids
Until now if you had multiple instances of Draggable in the same page,
when destroying one of them, all of the events binded to other
instances were also destroyed.

So, we are namespacing event names with unique id’s per instance to ensure
only that only the corresponding events are unbinded.

The other solution is to cache references to the event handlers, but most
of them are proxied or throttled which makes more mess...
2014-09-25 12:26:15 +02:00
vieron 1d06af1d5c Release v0.5.5 2014-07-25 15:50:59 +02:00
vieron 9926ceff59 fix(gridster): fire positionschanged when widget orig position changes
Until now `gridster:positionschanged` was being fired only if the widget
was moved up, but we also need to know if position is different when
`avoid_overlapped_widgets` is set to true (by default).
2014-07-25 15:49:14 +02:00
vieron 7640971905 Release v0.5.4 2014-07-16 20:29:47 +02:00
vieron 93df6cf690 fix(gridster): serialize returns an Array object, not a jQuery object
Fixes #394
2014-07-16 20:28:54 +02:00
vieron e837ded844 Release v0.5.3 2014-07-04 19:04:54 +02:00
vieron 6bcfa6e16e fix(gridster): custom ignore_dragging overwrites the default value 2014-06-25 23:24:53 +02:00
vieron 21a294cf29 chore: add reference to defaults in constructors 2014-06-25 23:10:59 +02:00
vieron a9c76d572b feature(gridster): added auto_init config option, default to true
Useful when using `positionschanged` event, fired before gridster
instance is cached.
2014-06-25 10:57:19 +02:00
vieron 589d7fd509 feat: make gridster AMD compatible 2014-06-25 10:54:21 +02:00
vieron 5c6d25cbbe fix(gridster): sort widgets appropriately when reading them from DOM 2014-06-25 10:54:17 +02:00
vieron 8ec307b6f7 feat(gridster): move widget up when added if there is space available 2014-06-25 10:52:50 +02:00
vieron aef185c5da style: some formatting changes 2014-06-24 23:08:49 +02:00
vieron b2323910ba chore: move sorting methods in prototype to the constructor
Useful to use them when we there is no gridster instance, like sorting
a previously stored output from the serialize method.
2014-06-24 23:08:49 +02:00
vieron c554aa89d8 Release 0.5.2 2014-06-16 19:03:21 +02:00
vieron 021a6c23e8 fix(draggable): handle both touch and click events
Fixes #207, #236, #329, and #380
2014-06-16 18:45:50 +02:00
David Kwakandvieron 7d22e6c8b2 fix(gridster): fix add_widget to use correct size_y when adding rows 2014-06-16 17:03:00 +02:00
Hannes Rosenbauerandvieron bb7463a324 fix(draggable): replaced scrollX/Y with scrollLeft/Top
window.scrollX/Y is only available in Chrome, not in IE
2014-06-16 17:03:00 +02:00
Hannes Rosenbauerandvieron c726c4ad9c fix(draggable): fix offset during drag
when the scrollX/Y is changed during drag (e.g. by the mousewheel)
the offset wasn't correct
2014-06-16 17:03:00 +02:00
David Smallandvieron 93c46ff45e fix(gridster): Removing previously added style tags before adding new one.
Hopefully fixes #211 and #294.
2014-06-16 16:59:20 +02:00
Hannes Rosenbauerandvieron dd6c742008 fix(draggable): bind drag events to $document
$body won't receive mouseup if the cursor is outside the browser window, $document does
2014-06-16 16:59:07 +02:00