Updated definition to match gridstack v0.3.0 (#18407)

This commit is contained in:
Sl1MBoy
2017-08-01 13:20:09 -07:00
committed by Sheetal Nandi
parent ed73a5a303
commit ec42f811b7
2 changed files with 129 additions and 25 deletions
+2
View File
@@ -19,8 +19,10 @@ if (gridstack !== gsFromElement) throw Error('These should match!');
gridstack.addWidget("test", 1, 2, 3, 4, true);
gridstack.addWidget(document.createElement('div'), 1, 2, 3, 4, true);
gridstack.addWidget($(document.createElement('div')), 1, 2, 3, 4, true);
gridstack.makeWidget($(document.createElement('div')));
gridstack.batchUpdate();
gridstack.cellHeight();;
gridstack.cellHeight(2);
gridstack.cellWidth();
gridstack.getCellFromPixel(<MousePosition>{ left:20, top: 20 });
gridstack.removeAll(false);