Warning
These is a complete backwards migration from version v3.4.0.
This was done so the people using angularjs 1.6.x
can have the newest features.
Because of this we have some breaking changes in this release.
Breaking changes
- updated to
angularjs v1.5
components. Recommend usingv1.6.x.
- change from
<div gridster="$ctrl.options">...</div>
to<gridster options="$ctrl.options"></gridster>
- change from
<div gridster-item="item" ng-repeat="item in $ctrl.dashboard">...</div>
to
<gridster-item item="item" ng-repeat="item in $ctrl.dashboard"></gridster-item>
- change constant from
gridsterConfig
toGridsterConfig
- change option
compactUp
&compactLeft
tocompactType
- removed
bower.json
and migrated tonpm
- removed
lodash
as a dependency - removed
javascript-detect-element-resize
as a dependency.
Warning:
If you need to dynamically resize the dashboard callthis.options.api.resize()
Features
- the list is long so read the updated Readme.md
Thanks to @karanaditya993 #39