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: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -373,7 +373,7 @@ v2.x is a Typescript rewrite of 1.x, removing all jquery events, using classes a
373
373
'verticalMargin()` to get value --> `getMargin()`
374
374
```
375
375
376
-
2.event signatures are generic and not jquery-ui dependent anymore. `gsresizestop` has been removed as `resizestop|dragstop` are now called **after** the DOm attributes have been updated.
376
+
2.event signatures are generic and not jquery-ui dependent anymore. `gsresizestop` has been removed as `resizestop|dragstop` are now called **after** the DOM attributes have been updated.
377
377
378
378
3.`oneColumnMode` would trigger when `window.width`<768px by default. We now check for grid width instead (more correct and supports nesting). You might need to adjust grid `minWidth` or `disableOneColumnMode`.
Copy file name to clipboardExpand all lines: doc/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -127,9 +127,9 @@ Extras:
127
127
options you can pass when calling `addWidget()`
128
128
129
129
-`autoPosition` - tells to ignore `x` and `y` attributes and to place element to the first available position. Having either one missing will also do that.
130
-
-`x`, `y` - (number) element position in row/column. Note: if one is missing this will `autoPosition` the item
131
-
-`width`, `height` - (number) element size in row/column (default 1x1)
132
-
-`maxWidth`, `minWidth`, `maxHeight`, `minHeight` - element constraints in row/column (default none)
130
+
-`x`, `y` - (number) element position in column/row. Note: if one is missing this will `autoPosition` the item
131
+
-`width`, `height` - (number) element size in column/row (default 1x1)
132
+
-`maxWidth`, `minWidth`, `maxHeight`, `minHeight` - element constraints in column/row (default none)
133
133
-`locked` - means another widget wouldn't be able to move it during dragging or resizing.
134
134
The widget can still be dragged or resized by the user.
135
135
You need to add `noResize` and `noMove` attributes to completely lock the widget.
0 commit comments