File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ export class GridStack {
192192 rtl : 'auto' ,
193193 removable : false ,
194194 removableOptions : {
195- accept : '.' + opts . itemClass
195+ accept : '.' + ( opts . itemClass || 'grid-stack-item' )
196196 } ,
197197 removeTimeout : 2000 ,
198198 verticalMarginUnit : 'px' ,
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ export interface GridstackOptions {
112112 resizable ?: DDResizeOpt ;
113113
114114 /**
115- * if true widgets could be removed by dragging outside of the grid. It could also be a selector string,
115+ * if true widgets could be removed by dragging outside of the grid. It could also be a selector string (ex: ".trash") ,
116116 * in this case widgets will be removed by dropping them there (default?: false)
117117 * See example (http://gridstack.github.io/gridstack.js/demo/two.html)
118118 */
You can’t perform that action at this time.
0 commit comments