File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ gridstack.js API
101
101
- ` disableDrag ` - disallows dragging of widgets (default: ` false ` ).
102
102
- ` disableResize ` - disallows resizing of widgets (default: ` false ` ).
103
103
- ` draggable ` - allows to override draggable options - see ` DDDragOpt ` . (default: ` {handle: '.grid-stack-item-content', appendTo: 'body', scroll: true} ` )
104
- - ` dragOut ` to let user drag nested grid items out of a parent or not (default false) See [ example] ( http://gridstackjs.com/demo/nested.html )
105
104
- ` engineClass ` - the type of engine to create (so you can subclass) default to GridStackEngine
106
105
- ` sizeToContent ` : boolean - make gridItems size themselves to their content, calling ` resizeToContent(el) ` whenever the grid or item is resized.
107
106
- ` float ` - enable floating widgets (default: ` false ` ) See [ example] ( http://gridstackjs.com/demo/float.html )
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ export class DDGridStack {
79
79
dEl . setupDraggable ( {
80
80
...grid . opts . draggable ,
81
81
...{
82
- // containment: (grid.parentGridItem && ! grid.opts.dragOut) ? grid.el.parentElement : (grid.opts.draggable.containment || null),
82
+ // containment: (grid.parentGridItem && grid.opts.dragOut === false ) ? grid.el.parentElement : (grid.opts.draggable.containment || null),
83
83
start : opts . start ,
84
84
stop : opts . stop ,
85
85
drag : opts . drag
You can’t perform that action at this time.
0 commit comments