diff --git a/README.md b/README.md index 2f5b631..be12de8 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ $(function () { - `draggable` - allows to owerride jQuery UI draggable options. (default: `{handle: '.grid-stack-item-content', scroll: true, appendTo: 'body'}`) - `handle` - draggable handle selector (default: `'.grid-stack-item-content'`) - `height` - maximum rows amount. Default is `0` which means no maximum rows -- `float` - enable floating widgets (default: `false`) +- `float` - enable floating widgets (default: `false`) See [example](http://troolee.github.io/gridstack.js/demo/float.html) - `item_class` - widget class (default: `'grid-stack-item'`) - `min_width` - minimal width. If window width is less grid will be shown in one-column mode (default: `768`) - `placeholder_class` - class for placeholder (default: `'grid-stack-placeholder'`) diff --git a/demo/float.html b/demo/float.html new file mode 100644 index 0000000..12281ac --- /dev/null +++ b/demo/float.html @@ -0,0 +1,87 @@ + + + + + + + + + Float grid demo + + + + + + + + + + + + + + +
+

Float grid demo

+ +
+ Add Widget +
+ +
+ +
+
+
+ + + + +