Skip to content

Commit fe58663

Browse files
committed
Merge branches 'master' and 'master' of github.com:ManifestWebDesign/angular-gridster
2 parents fde9e71 + 83fba45 commit fe58663

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ This expects a scope similar to the previous example, but with customItemMap als
8585
sizeX: 'item.size.x',
8686
sizeY: 'item.size.y',
8787
row: 'item.position[0]',
88-
col: 'item.position[1]'
88+
col: 'item.position[1]',
89+
minSizeY: 'item.minSizeY',
90+
maxSizeY: 'item.maxSizeY'
8991
};
9092
```
9193
The gridsterItem directive can be configured like this:
@@ -121,6 +123,10 @@ Simply pass your desired options to the gridster directive
121123
maxRows: 100,
122124
defaultSizeX: 2, // the default width of a gridster item, if not specifed
123125
defaultSizeY: 1, // the default height of a gridster item, if not specified
126+
minSizeX: 1, // minimum column width of an item
127+
maxSizeX: null, // maximum column width of an item
128+
minSizeY: 1, // minumum row height of an item
129+
maxSizeY: null, // maximum row height of an item
124130
resizable: {
125131
enabled: true,
126132
handles: ['n', 'e', 's', 'w', 'ne', 'se', 'sw', 'nw'],

0 commit comments

Comments
 (0)