Commit f62d2b7c authored by Andrew Young's avatar Andrew Young Committed by GitHub
Browse files

Fix minWidth description

The grip switches to one column at less than or equal to minWidth rather than just less than as the docs state
parent fa4f2d0d
......@@ -77,7 +77,7 @@ gridstack.js API
- `height` - maximum rows amount. Default is `0` which means no maximum rows
- `float` - enable floating widgets (default: `false`) See [example](http://troolee.github.io/gridstack.js/demo/float.html)
- `itemClass` - widget class (default: `'grid-stack-item'`)
- `minWidth` - minimal width. If window width is less, grid will be shown in one-column mode (default: `768`)
- `minWidth` - minimal width. If window width is less than or equal to, grid will be shown in one-column mode (default: `768`)
- `disableOneColumnMode` - disables the onColumnMode when the window width is less than minWidth (default: 'false')
- `oneColumnModeClass` - class set on grid when in one column mode (default: 'grid-stack-one-column-mode')
- `placeholderClass` - class for placeholder (default: `'grid-stack-placeholder'`)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment