You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/README.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -118,6 +118,8 @@ gridstack.js API
118
118
-`marginLeft`: numberOrString
119
119
-`maxRow` - maximum rows amount. Default is `0` which means no max.
120
120
-`minRow` - minimum rows amount which is handy to prevent grid from collapsing when empty. Default is `0`. You can also do this with `min-height` CSS attribute on the grid div in pixels, which will round to the closest row.
121
+
-`nonce` - If you are using a nonce-based Content Security Policy, pass your nonce here and
122
+
GridStack will add it to the <style> elements it creates.
121
123
-`oneColumnSize` - minimal width. If grid width is less than or equal to, grid will be shown in one-column mode (default: `768`)
122
124
-`oneColumnModeDomSort` - set to `true` if you want oneColumnMode to use the DOM order and ignore x,y from normal multi column layouts during sorting. This enables you to have custom 1 column layout that differ from the rest. (default?: `false`)
123
125
-`placeholderClass` - class for placeholder (default: `'grid-stack-placeholder'`)
0 commit comments