From 8eb803641b6b269bd932f07a1cf9e4a464b892f5 Mon Sep 17 00:00:00 2001 From: Ctibor Laky Date: Tue, 22 Aug 2017 15:18:47 +0200 Subject: [PATCH] links to docs --- doc/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/README.md b/doc/README.md index 6e4d231ec..363c3daed 100644 --- a/doc/README.md +++ b/doc/README.md @@ -90,12 +90,12 @@ gridstack.js API - `verticalMargin` - vertical gap size (default: `20`). Can be: - an integer (px) - a string (ex: '2em', '20px', '2rem') -- `width` - amount of columns (default: `12`) +- `width` - amount of columns (default: `12`). Setting non-default value must be supported by equivalent change in CSS, [see docs here](https://github.com/troolee/gridstack.js#change-grid-width). ## Grid attributes - `data-gs-animate` - turns animation on -- `data-gs-width` - amount of columns +- `data-gs-width` - amount of columns. Setting non-default value must be supported by equivalent change in CSS, [see docs here](https://github.com/troolee/gridstack.js#change-grid-width). - `data-gs-height` - maximum rows amount. Default is `0` which means no maximum rows. - `data-gs-current-height` - current rows amount. Set by the library only. Can be used by the CSS rules.