Releases: RJMetrics/angular-gridster
Update package.json
Change the main file in package.json.
Apply patches from 0.10.7 to 0.13.14
Applies patches that were previously applied to 0.10.7 to the latest version of angular-gridster. Also applies a fix to the way the draggable handler ignores child input elements.
Controller functions return `this` explicitly
The only change in this release is that the GridsterItemCtrl
and GridsterCtrl
controller functions explicitly return this
to support our recent upgrade to Angular 1.4.10.
Fix bias towards getting larger when resizing
Passing 'true' to the pixelsToRows and pixelsToColumns functions causes
these functions to use Math.ceil to calculate how many rows or columns
the item should occupy. This biases towards getting larger and makes
resizing experience undesired. Similarly, 'false' to these functions
uses Math.floor. This isn't as important for us since we do not allow
resize handles on the left side of charts, but if we did the user would
have similarly poor experiences.
This also has the effect of fixing a bug when resizing off the grid.
Before, if you resized an item all the way to the right of the grid, the
item would move to the left and push other items down. Now, you cannot
resize past the edge of the grid.
provide functions for calculating an element's width and height
These functions are necessary when initializing items when gridster has not necessary rendered.
call resizable.stop whether the item was resized or not
Note that this change has been merged into the official argular gridster repository. However it does not exist for version 0.10.7