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
101101- ` disableDrag ` - disallows dragging of widgets (default: ` false ` ).
102102- ` disableResize ` - disallows resizing of widgets (default: ` false ` ).
103103- ` 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 )
105104- ` engineClass ` - the type of engine to create (so you can subclass) default to GridStackEngine
106105- ` sizeToContent ` : boolean - make gridItems size themselves to their content, calling ` resizeToContent(el) ` whenever the grid or item is resized.
107106- ` 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 {
7979 dEl . setupDraggable ( {
8080 ...grid . opts . draggable ,
8181 ...{
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),
8383 start : opts . start ,
8484 stop : opts . stop ,
8585 drag : opts . drag
You can’t perform that action at this time.
0 commit comments