Skip to content

Commit 8ebb3f7

Browse files
committed
build js
1 parent 90424c0 commit 8ebb3f7

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

dist/gridstack.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,15 @@
747747
return el;
748748
};
749749

750+
GridStack.prototype.make_widget = function(el) {
751+
el = $(el);
752+
this._prepare_element(el);
753+
this._update_container_height();
754+
this._trigger_change_event(true);
755+
756+
return el;
757+
};
758+
750759
GridStack.prototype.will_it_fit = function(x, y, width, height, auto_position) {
751760
var node = {x: x, y: y, width: width, height: height, auto_position: auto_position};
752761
return this.grid.can_be_placed_with_respect_to_height(node);

0 commit comments

Comments
 (0)