Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1b55b4e

Browse files
authored
Use v1 API options in demo page
Options `cell_height` and `vertical_margin` are deprecated as of v0.2.5 and have been replaced with `cellHeight` and `verticalMargin`. They will be **completely** removed in v1.0.
1 parent 387c7b1 commit 1b55b4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ <h3>Basic Usage</h3>
151151
&lt;script type=&quot;text/javascript&quot;&gt;
152152
$(function () {
153153
var options = {
154-
cell_height: 80,
155-
vertical_margin: 10
154+
cellHeight: 80,
155+
verticalMargin: 10
156156
};
157157
$('.grid-stack').gridstack(options);
158158
});

0 commit comments

Comments
 (0)