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
* use webpack to bundle gridstack.all.js (all inclusive, works in browsers)
* use tsc to compile each .TS into ES6 modules
verified that you can now do this in a sample app
import { GridStack } from 'gridstack';
import 'gridstack/dist/gridstack.css';
var grid = GridStack.init();
let$el: JQuery=$(elasany);// workaround Type 'string' is not assignable to type 'PlainObject<any>' - see https://github.com/DefinitelyTyped/DefinitelyTyped/issues/29312
71
72
$el.draggable(opts);
72
73
returnthis;
73
74
}
@@ -89,7 +90,7 @@ export class GridStackDDJQueryUI extends GridStackDD {
89
90
}
90
91
91
92
publicisDraggable(el: GridStackElement): boolean{
92
-
let$el: JQuery=$(el);
93
+
let$el: JQuery=$(elasany);// workaround Type 'string' is not assignable to type 'PlainObject<any>' - see https://github.com/DefinitelyTyped/DefinitelyTyped/issues/29312
0 commit comments