Skip to content

Commit d0618b3

Browse files
authored
Merge pull request #448 from Deklin/master
feature(sparse) updated PR based on Malczewki
2 parents c3d1f70 + 932bbf9 commit d0618b3

File tree

3 files changed

+60
-12
lines changed

3 files changed

+60
-12
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ $scope.gridsterOpts = {
138138
rowHeight: 'match', // can be an integer or 'match'. Match uses the colWidth, giving you square widgets.
139139
margins: [10, 10], // the pixel distance between each widget
140140
outerMargin: true, // whether margins apply to outer edges of the grid
141+
sparse: false, // "true" can increase performance of dragging and resizing for big grid (e.g. 20x50)
141142
isMobile: false, // stacks the grid items if true
142143
mobileBreakPoint: 600, // if the screen is not wider that this, remove the grid layout and stack the items
143144
mobileModeEnabled: true, // whether or not to toggle mobile mode when screen width is less than mobileBreakPoint

0 commit comments

Comments
 (0)